PHP Класс Sstalle\php7cc\CLIResultPrinter

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

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

Свойство Тип Описание
$nodeStatementsRemover Sstalle\php7cc\NodeStatementsRemover
$output Sstalle\php7cc\CLIOutputInterface
$prettyPrinter PhpParser\PrettyPrinter\Standard

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

Метод Описание
__construct ( Sstalle\php7cc\CLIOutputInterface $output, Standard $prettyPrinter, Sstalle\php7cc\NodeStatementsRemover $nodeStatementsRemover )
printContext ( Sstalle\php7cc\CompatibilityViolation\ContextInterface $context )
printMetadata ( Sstalle\php7cc\CompatibilityViolation\CheckMetadata $metadata )

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

Метод Описание
formatMessage ( Message $message ) : string

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

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

public __construct ( Sstalle\php7cc\CLIOutputInterface $output, Standard $prettyPrinter, Sstalle\php7cc\NodeStatementsRemover $nodeStatementsRemover )
$output Sstalle\php7cc\CLIOutputInterface
$prettyPrinter PhpParser\PrettyPrinter\Standard
$nodeStatementsRemover Sstalle\php7cc\NodeStatementsRemover

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

public printContext ( Sstalle\php7cc\CompatibilityViolation\ContextInterface $context )
$context Sstalle\php7cc\CompatibilityViolation\ContextInterface

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

public printMetadata ( Sstalle\php7cc\CompatibilityViolation\CheckMetadata $metadata )
$metadata Sstalle\php7cc\CompatibilityViolation\CheckMetadata

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

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

protected NodeStatementsRemover,Sstalle\php7cc $nodeStatementsRemover
Результат Sstalle\php7cc\NodeStatementsRemover

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

protected CLIOutputInterface,Sstalle\php7cc $output
Результат Sstalle\php7cc\CLIOutputInterface

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

protected Standard,PhpParser\PrettyPrinter $prettyPrinter
Результат PhpParser\PrettyPrinter\Standard