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

Inheritance: implements SensioLabs\DeprecationDetector\Violation\Renderer\RendererInterface
Mostrar archivo Open project: sensiolabs-de/deprecation-detector Class Usage Examples

Protected Properties

Property Type Description
$messageHelper SensioLabs\DeprecationDetector\Violation\Renderer\MessageHelper\MessageHelper
$output Symfony\Component\Console\Output\OutputInterface

Public Methods

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

Protected Methods

Method Description
printErrors ( array $errors )
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

printErrors() protected method

protected printErrors ( array $errors )
$errors array

printViolations() abstract protected method

abstract protected printViolations ( array $violations )
$violations array

renderViolations() public method

public renderViolations ( array $violations, array $errors )
$violations array
$errors array

Property Details

$messageHelper protected_oe property

protected MessageHelper,SensioLabs\DeprecationDetector\Violation\Renderer\MessageHelper $messageHelper
return SensioLabs\DeprecationDetector\Violation\Renderer\MessageHelper\MessageHelper

$output protected_oe property

protected OutputInterface,Symfony\Component\Console\Output $output
return Symfony\Component\Console\Output\OutputInterface