src/CoreBundle/EventListener/DcGeneral/EnvironmentPopulator/MetaModelPopulatorTrait.php
public function handle(PopulateEnvironmentEvent $event)
    {
        $environment = $event->getEnvironment();
        if ($environment->getDataDefinition() instanceof IMetaModelDataDefinition) {
            $this->populate($environment);
        }
    }
public function handle(PopulateEnvironmentEvent $event)
    {
        $environment = $event->getEnvironment();
        if ($environment->getDataDefinition() instanceof IMetaModelDataDefinition) {
            $this->populate($environment);
        }
    }
public function handle ( PopulateEnvironmentEvent $ event ) { $ environment = $ event -> getEnvironment ( ) ; if ( $ environment -> getDataDefinition ( ) instanceof IMetaModelDataDefinition ) { $ this -> populate ( $ environment ) ; } }
Handle the event.

@param PopulateEnvironmentEvent $event The event.

@return void
Handle the event .