public function onInit(BaseEvent $event)
    {
        $this->state->loadSettings();
        // It is not possible to know if the user specified --dev or --no-dev so assume it is false.
        // The dev section will be merged later when the other events fire.
        $this->state->setDevMode(false);
        $this->mergeFiles($this->state->getIncludes(), false);
        $this->mergeFiles($this->state->getRequires(), true);
    }
public function onInit(BaseEvent $event)
    {
        $this->state->loadSettings();
        // It is not possible to know if the user specified --dev or --no-dev so assume it is false.
        // The dev section will be merged later when the other events fire.
        $this->state->setDevMode(false);
        $this->mergeFiles($this->state->getIncludes(), false);
        $this->mergeFiles($this->state->getRequires(), true);
    }
public function onInit ( BaseEvent $ event ) { $ this -> state -> loadSettings ( ) ; // It is not possible to know if the user specified --dev or --no-dev so assume it is false. // The dev section will be merged later when the other events fire. $ this -> state -> setDevMode ( false ) ; $ this -> mergeFiles ( $ this -> state -> getIncludes ( ) , false ) ; $ this -> mergeFiles ( $ this -> state -> getRequires ( ) , true ) ; }
Handle an event callback for initialization.

@param  \Composer\EventDispatcher\Event  $event
Handle an event callback for initialization .