PHP Class SensioLabs\Security\Formatters\TextFormatter

Inheritance: implements SensioLabs\Security\Formatters\FormatterInterface
ファイルを表示 Open project: sensiolabs/security-checker Class Usage Examples

Public Methods

Method Description
__construct ( Symfony\Component\Console\Helper\FormatterHelper $formatter )
displayResults ( Symfony\Component\Console\Output\OutputInterface $output, string $lockFilePath, array $vulnerabilities ) Displays a security report as plain text.

Method Details

__construct() public method

public __construct ( Symfony\Component\Console\Helper\FormatterHelper $formatter )
$formatter Symfony\Component\Console\Helper\FormatterHelper

displayResults() public method

Displays a security report as plain text.
public displayResults ( Symfony\Component\Console\Output\OutputInterface $output, string $lockFilePath, array $vulnerabilities )
$output Symfony\Component\Console\Output\OutputInterface
$lockFilePath string The file path to the checked lock file
$vulnerabilities array An array of vulnerabilities