PHPSA\Context::warning PHP Méthode

warning() public méthode

Creates a warning message.
public warning ( string $type, string $message ) : boolean
$type string
$message string
Résultat boolean
    public function warning($type, $message)
    {
        $this->output->writeln('<comment>Warning:  ' . $message . ' in ' . $this->filepath . '  [' . $type . ']</comment>');
        $this->output->writeln('');
        return true;
    }