PHP Класс HippoPHP\Hippo\HippoTextUI

Наследование: implements HippoInterface
Показать файл Открыть проект

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

Свойство Тип Описание
$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