writelnWarning() публичный Метод

public writelnWarning ( $message, $type = self::OUTPUT_NORMAL )
Пример #1
0
 public static function errorHandler($errno, $errstr, $errfile, $errline)
 {
     if (!($errno & error_reporting())) {
         return;
     }
     $output = new ConsoleOutput();
     $output->writeln("");
     $output->writelnWarning(' [WARNING]: ' . $errstr . ' in file ' . $errfile . ' at line ' . $errline);
     $output->writeln("");
 }