Ayaline\Bundle\ComposerBundle\Consumer\Step\ComposerInstalledStep::execute PHP Метод

execute() публичный Метод

public execute ( Sonata\NotificationBundle\Consumer\ConsumerEvent $event, $directory )
$event Sonata\NotificationBundle\Consumer\ConsumerEvent
    public function execute(ConsumerEvent $event, $directory)
    {
        $output = null;
        $workingDirectory = $this->workingTempPath . '/' . $directory;
        $process = $this->runProcess(sprintf('%s show --installed', $this->composerBinPath), $workingDirectory, $output);
        if ($process->isSuccessful()) {
            $this->triggerComposerInstalled($event, array('message' => $process->getOutput()));
        }
        return 0;
    }
ComposerInstalledStep