PHP Класс Ayaline\Bundle\ComposerBundle\Consumer\Step\AbstractStep

Автор: Hubert Moutot ([email protected])
Наследование: implements Ayaline\Bundle\ComposerBundle\Consumer\Step\StepInterface
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$composerBinPath string
$filesystem Symfony\Component\Filesystem\Filesystem
$path string
$pusher Pusher
$rootDir string
$workingTempPath string

Открытые методы

Метод Описание
setComposerBinPath ( string $composerBinPath )
setFilesystem ( Symfony\Component\Filesystem\Filesystem $filesystem )
setPusher ( Pusher $pusher )
setRootDir ( string $rootDir )
setWorkingTempPath ( string $workingTempPath )

Защищенные методы

Метод Описание
getChannels ( Sonata\NotificationBundle\Consumer\ConsumerEvent $event ) : array Extracts a channel name from a ConsumerEvent.
runProcess ( string $commandline, string $workingDirectory, string &$output ) : Process Runs a process.
triggerComposerInstalled ( Sonata\NotificationBundle\Consumer\ConsumerEvent $event, array $message ) Triggers a "consumer:composer-installed" message on Pusher.
triggerComposerOutput ( Sonata\NotificationBundle\Consumer\ConsumerEvent $event, array $message ) Triggers a "consumer:composer-output" message on Pusher.
triggerError ( Sonata\NotificationBundle\Consumer\ConsumerEvent $event, array $message ) Triggers a "consumer:error" message on Pusher.
triggerNewStep ( Sonata\NotificationBundle\Consumer\ConsumerEvent $event, array $message ) Triggers a "consumer:new-step" message on Pusher.
triggerStepError ( Sonata\NotificationBundle\Consumer\ConsumerEvent $event, array $message ) Triggers a "consumer:step-error" message on Pusher.
triggerSuccess ( Sonata\NotificationBundle\Consumer\ConsumerEvent $event, array $message ) Triggers a "consumer:success" message on Pusher.
triggerVulnerabilities ( Sonata\NotificationBundle\Consumer\ConsumerEvent $event, array $message ) Triggers a "consumer:vulnerabilities" message on Pusher.

Описание методов

getChannels() защищенный Метод

Extracts a channel name from a ConsumerEvent.
protected getChannels ( Sonata\NotificationBundle\Consumer\ConsumerEvent $event ) : array
$event Sonata\NotificationBundle\Consumer\ConsumerEvent
Результат array

runProcess() защищенный Метод

Runs a process.
protected runProcess ( string $commandline, string $workingDirectory, string &$output ) : Process
$commandline string the command line to execute
$workingDirectory string the current working directory
$output string the output
Результат Symfony\Component\Process\Process the resulting Process

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

public setComposerBinPath ( string $composerBinPath )
$composerBinPath string

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

public setFilesystem ( Symfony\Component\Filesystem\Filesystem $filesystem )
$filesystem Symfony\Component\Filesystem\Filesystem

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

public setPusher ( Pusher $pusher )
$pusher Pusher

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

public setRootDir ( string $rootDir )
$rootDir string

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

public setWorkingTempPath ( string $workingTempPath )
$workingTempPath string

triggerComposerInstalled() защищенный Метод

Triggers a "consumer:composer-installed" message on Pusher.
protected triggerComposerInstalled ( Sonata\NotificationBundle\Consumer\ConsumerEvent $event, array $message )
$event Sonata\NotificationBundle\Consumer\ConsumerEvent
$message array

triggerComposerOutput() защищенный Метод

Triggers a "consumer:composer-output" message on Pusher.
protected triggerComposerOutput ( Sonata\NotificationBundle\Consumer\ConsumerEvent $event, array $message )
$event Sonata\NotificationBundle\Consumer\ConsumerEvent
$message array

triggerError() защищенный Метод

Triggers a "consumer:error" message on Pusher.
protected triggerError ( Sonata\NotificationBundle\Consumer\ConsumerEvent $event, array $message )
$event Sonata\NotificationBundle\Consumer\ConsumerEvent
$message array

triggerNewStep() защищенный Метод

Triggers a "consumer:new-step" message on Pusher.
protected triggerNewStep ( Sonata\NotificationBundle\Consumer\ConsumerEvent $event, array $message )
$event Sonata\NotificationBundle\Consumer\ConsumerEvent
$message array

triggerStepError() защищенный Метод

Triggers a "consumer:step-error" message on Pusher.
protected triggerStepError ( Sonata\NotificationBundle\Consumer\ConsumerEvent $event, array $message )
$event Sonata\NotificationBundle\Consumer\ConsumerEvent
$message array

triggerSuccess() защищенный Метод

Triggers a "consumer:success" message on Pusher.
protected triggerSuccess ( Sonata\NotificationBundle\Consumer\ConsumerEvent $event, array $message )
$event Sonata\NotificationBundle\Consumer\ConsumerEvent
$message array

triggerVulnerabilities() защищенный Метод

Triggers a "consumer:vulnerabilities" message on Pusher.
protected triggerVulnerabilities ( Sonata\NotificationBundle\Consumer\ConsumerEvent $event, array $message )
$event Sonata\NotificationBundle\Consumer\ConsumerEvent
$message array

Описание свойств

$composerBinPath защищенное свойство

protected string $composerBinPath
Результат string

$filesystem защищенное свойство

protected Filesystem,Symfony\Component\Filesystem $filesystem
Результат Symfony\Component\Filesystem\Filesystem

$path защищенное свойство

protected string $path
Результат string

$pusher защищенное свойство

protected Pusher $pusher
Результат Pusher

$rootDir защищенное свойство

protected string $rootDir
Результат string

$workingTempPath защищенное свойство

protected string $workingTempPath
Результат string