PHP 클래스 HippoPHP\Hippo\HippoTextUI

상속: implements HippoInterface
파일 보기 프로젝트 열기: hippophp/hippo

보호된 프로퍼티들

프로퍼티 타입 설명
$checkRepository CheckRepository
$configReader HippoPHP\Hippo\Config\ConfigReaderInterface
$context HippoTextUIContext
$environment Environment
$fileSystem FileSystem
$pathToSelf string

공개 메소드들

메소드 설명
__construct ( Environment $environment, FileSystem $fileSystem, CheckRepository $checkRepository, HippoPHP\Hippo\Config\ConfigReaderInterface $configReader, string $pathToSelf, HippoTextUIContext $context )
main ( $args )

보호된 메소드들

메소드 설명
reportCheckResults ( array $reporters, File $file, array $checkResults )
run ( )
runChecks ( )
showHelp ( ) Shows the help information.
showVersion ( ) Shows the version information.

비공개 메소드들

메소드 설명
_finishReporter ( ReporterInterface &$reporter ) : mixed Finishes the reporter. Usually used for cleanups.
_getAllStandardNames ( ) : string[]
_getAuthors ( ) : string Returns package authors.
_getComposerPath ( ) : string Returns the absolute path for composer.json.
_getPackageVersion ( ) : string Returns the package version number for Hippo via composer.json.
_getStandardPath ( $standardName ) : string Returns the absolute path for a standards file.
_getStandardsFolder ( ) : string Returns the absolute path for the folder that contains standard files.
_startReporter ( ReporterInterface &$reporter ) : mixed Starts the reporter. Can be used for setup.

메소드 상세

__construct() 공개 메소드

public __construct ( Environment $environment, FileSystem $fileSystem, CheckRepository $checkRepository, HippoPHP\Hippo\Config\ConfigReaderInterface $configReader, string $pathToSelf, HippoTextUIContext $context )
$environment Environment
$fileSystem FileSystem
$checkRepository CheckRepository
$configReader HippoPHP\Hippo\Config\ConfigReaderInterface
$pathToSelf string
$context HippoTextUIContext

main() 공개 정적인 메소드

public static main ( $args )

reportCheckResults() 보호된 메소드

protected reportCheckResults ( array $reporters, File $file, array $checkResults )
$reporters array
$file File
$checkResults array

run() 보호된 메소드

protected run ( )

runChecks() 보호된 메소드

protected runChecks ( )

showHelp() 보호된 메소드

Shows the help information.
protected showHelp ( )

showVersion() 보호된 메소드

Shows the version information.
protected showVersion ( )

프로퍼티 상세

$checkRepository 보호되어 있는 프로퍼티

protected CheckRepository,HippoPHP\Hippo $checkRepository
리턴 CheckRepository

$configReader 보호되어 있는 프로퍼티

protected ConfigReaderInterface,HippoPHP\Hippo\Config $configReader
리턴 HippoPHP\Hippo\Config\ConfigReaderInterface

$context 보호되어 있는 프로퍼티

protected HippoTextUIContext,HippoPHP\Hippo $context
리턴 HippoTextUIContext

$environment 보호되어 있는 프로퍼티

protected Environment,HippoPHP\Hippo $environment
리턴 Environment

$fileSystem 보호되어 있는 프로퍼티

protected FileSystem,HippoPHP\Hippo $fileSystem
리턴 FileSystem

$pathToSelf 보호되어 있는 프로퍼티

protected string $pathToSelf
리턴 string