コード例 #1
0
ファイル: InstanceEvent.php プロジェクト: edde-framework/edde
 /**
  * @param string $name
  * @param object $instance
  */
 public function __construct($name, $instance)
 {
     parent::__construct($name);
     $this->instance = $instance;
 }
コード例 #2
0
 /**
  * @param string $name
  * @param \Exception $exception
  */
 public function __construct($name, \Exception $exception)
 {
     parent::__construct($name);
     $this->exception = $exception;
 }