Exemplo n.º 1
0
 public function __toString()
 {
     $text = '';
     $text .= PHP_EOL;
     $text .= '=============================';
     $text .= PHP_EOL;
     $text .= ' ERROR REPORTING';
     $text .= PHP_EOL;
     $text .= PHP_EOL;
     $text .= '=============================';
     $text .= PHP_EOL;
     $num = count($this->getChildren());
     $numRules = count($this->getRule());
     $text .= "Rule(err/pass): {$num}/{$numRules}";
     return $text . PHP_EOL . $this->toString() . parent::__toString();
 }
Exemplo n.º 2
0
 public function __construct($sp, $name)
 {
     parent::__construct('Undefined Service ' . $name);
 }
Exemplo n.º 3
0
 public function __construct($msg)
 {
     parent::__construct($msg);
 }