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(); }
public function __construct($sp, $name) { parent::__construct('Undefined Service ' . $name); }
public function __construct($msg) { parent::__construct($msg); }