コード例 #1
0
ファイル: ReadOnly.php プロジェクト: onpaws/honeybadger-php
 public function __construct($class)
 {
     parent::__construct('Class :class is read-only', array(':class' => get_class($class)));
 }
コード例 #2
0
 public function __construct($class, $property)
 {
     parent::__construct('Missing method or property :property for :class', array(':class' => get_class($class), ':property' => $property));
 }
コード例 #3
0
ファイル: Error.php プロジェクト: onpaws/honeybadger-php
 public static function register_handler()
 {
     self::$previous_handler = set_error_handler(array(__CLASS__, 'handle'));
 }