PHP 클래스 Sstalle\php7cc\CLIResultPrinter

상속: implements Sstalle\php7cc\ResultPrinterInterface
파일 보기 프로젝트 열기: sstalle/php7cc

보호된 프로퍼티들

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