PHP Класс GrumPHP\Console\Command\Git\InitCommand

Наследование: extends Symfony\Component\Console\Command\Command
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
$hooks array

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

Свойство Тип Описание
$filesystem GrumPHP\Util\Filesystem
$grumPHP GrumPHP\Configuration\GrumPHP
$input Symfony\Component\Console\Input\InputInterface
$processBuilder Symfony\Component\Process\ProcessBuilder

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

Метод Описание
__construct ( GrumPHP $grumPHP, Filesystem $filesystem, Symfony\Component\Process\ProcessBuilder $processBuilder )
execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) : integer | void

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

Метод Описание
configure ( ) Configure command
generateHookCommand ( $command ) : string
parseHookBody ( $hook, SplFileInfo $templateFile ) : mixed
paths ( ) : PathsHelper
useExoticConfigFile ( ) : null | string This method will tell you which exotic configuration file should be used.

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

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

public __construct ( GrumPHP $grumPHP, Filesystem $filesystem, Symfony\Component\Process\ProcessBuilder $processBuilder )
$grumPHP GrumPHP\Configuration\GrumPHP
$filesystem GrumPHP\Util\Filesystem
$processBuilder Symfony\Component\Process\ProcessBuilder

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

Configure command
protected configure ( )

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

public execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) : integer | void
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface
Результат integer | void

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

protected generateHookCommand ( $command ) : string
$command
Результат string

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

protected parseHookBody ( $hook, SplFileInfo $templateFile ) : mixed
$hook
$templateFile SplFileInfo
Результат mixed

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

protected paths ( ) : PathsHelper
Результат GrumPHP\Console\Helper\PathsHelper

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

This method will tell you which exotic configuration file should be used.
protected useExoticConfigFile ( ) : null | string
Результат null | string

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

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

protected Filesystem,GrumPHP\Util $filesystem
Результат GrumPHP\Util\Filesystem

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

protected GrumPHP,GrumPHP\Configuration $grumPHP
Результат GrumPHP\Configuration\GrumPHP

$hooks публичное статическое свойство

public static array $hooks
Результат array

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

protected InputInterface,Symfony\Component\Console\Input $input
Результат Symfony\Component\Console\Input\InputInterface

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

protected ProcessBuilder,Symfony\Component\Process $processBuilder
Результат Symfony\Component\Process\ProcessBuilder