コード例 #1
0
ファイル: RuleException.php プロジェクト: hossy78/nora
 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();
 }
コード例 #2
0
ファイル: UndefinedService.php プロジェクト: hossy78/nora
 public function __construct($sp, $name)
 {
     parent::__construct('Undefined Service ' . $name);
 }
コード例 #3
0
ファイル: FactoryException.php プロジェクト: hossy78/nora
 public function __construct($msg)
 {
     parent::__construct($msg);
 }