PHP 클래스 JonathanTorres\Construct\Commands\ConstructCommand

상속: extends Symfony\Component\Console\Command\Command
파일 보기 프로젝트 열기: jonathantorres/construct

보호된 프로퍼티들

프로퍼티 타입 설명
$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