PHP Class SensioLabs\DeprecationDetector\Violation\Renderer\Console\DefaultRenderer

Inheritance: extends BaseRenderer
Exibir arquivo Open project: sensiolabs-de/deprecation-detector

Public Methods

Method Description
__construct ( Symfony\Component\Console\Output\OutputInterface $output, SensioLabs\DeprecationDetector\Violation\Renderer\MessageHelper\MessageHelper $messageHelper )

Protected Methods

Method Description
getFileHeader ( PhpFileInfo $file ) : Symfony\Component\Console\Helper\TableCell[]
printViolations ( array $violations )

Method Details

__construct() public method

public __construct ( Symfony\Component\Console\Output\OutputInterface $output, SensioLabs\DeprecationDetector\Violation\Renderer\MessageHelper\MessageHelper $messageHelper )
$output Symfony\Component\Console\Output\OutputInterface
$messageHelper SensioLabs\DeprecationDetector\Violation\Renderer\MessageHelper\MessageHelper

getFileHeader() protected method

protected getFileHeader ( PhpFileInfo $file ) : Symfony\Component\Console\Helper\TableCell[]
$file SensioLabs\DeprecationDetector\FileInfo\PhpFileInfo
return Symfony\Component\Console\Helper\TableCell[]

printViolations() protected method

protected printViolations ( array $violations )
$violations array