PHP Класс JonathanTorres\Construct\Commands\ConstructCommand

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

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

Свойство Тип Описание
$construct string The construct implementation.
$defaults JonathanTorres\Construct\Defaults Construct defaults.
$filesystem JonathanTorres\Construct\Helpers\Filesystem Filesystem helper.
$settings JonathanTorres\Construct\Settings Construct settings.
$str JonathanTorres\Construct\Str String helper.
$systemPhpVersion string Php version currently used on the system.

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

Метод Описание
__construct ( Construct $construct, Str $str, Filesystem $filesystem ) : void Initialize.

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

Метод Описание
configure ( ) : void Command configuration.
execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) : void Execute command.

Приватные методы

Метод Описание
bootstrappedCodeceptionMessage ( string $testFramework, Symfony\Component\Console\Output\OutputInterface $output ) : void Show message if codeception is bootstrapped successfully.
initializedBehatMessage ( string $testFramework, Symfony\Component\Console\Output\OutputInterface $output ) : void Show message if behat is initialized successfully.
initializedGitMessage ( Symfony\Component\Console\Output\OutputInterface $output ) : void Show message if an empty git repo is initialized.
isConfigurationApplicable ( $configuration ) : boolean Determine if a configuration is applicable.
phpVersionWarning ( Symfony\Component\Console\Output\OutputInterface $output ) : string Show warning if an invalid php version or a version greater than the one on the system is specified.
projectNameContainsPhpWarning ( Symfony\Component\Console\Output\OutputInterface $output ) : void Show warning if the project name contains the string "php"
supportedLicenseWarning ( Symfony\Component\Console\Output\OutputInterface $output ) : string Show warning if a license that is not supported is specified.
testFrameworkWarning ( Symfony\Component\Console\Output\OutputInterface $output ) : string Show warning if a test framework that is not supported is specified.
warnAndOverwriteInvalidSettingsWithDefaults ( Symfony\Component\Console\Output\OutputInterface $output ) : void Shows warnings and sets a new settings which overwrites invalid settings with default values.

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

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

Initialize.
public __construct ( Construct $construct, Str $str, Filesystem $filesystem ) : void
$construct JonathanTorres\Construct\Construct
$str JonathanTorres\Construct\Helpers\Str
$filesystem JonathanTorres\Construct\Helpers\Filesystem
Результат void

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

Command configuration.
protected configure ( ) : void
Результат void

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

Execute command.
protected execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) : void
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface
Результат void

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

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

The construct implementation.
protected string $construct
Результат string

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

Construct defaults.
protected Defaults,JonathanTorres\Construct $defaults
Результат JonathanTorres\Construct\Defaults

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

Filesystem helper.
protected Filesystem,JonathanTorres\Construct\Helpers $filesystem
Результат JonathanTorres\Construct\Helpers\Filesystem

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

Construct settings.
protected Settings,JonathanTorres\Construct $settings
Результат JonathanTorres\Construct\Settings

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

String helper.
protected Str,JonathanTorres\Construct $str
Результат JonathanTorres\Construct\Str

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

Php version currently used on the system.
protected string $systemPhpVersion
Результат string