Beispiel #1
0
 /**
  * @param string $name
  * @param object $instance
  */
 public function __construct($name, $instance)
 {
     parent::__construct($name);
     $this->instance = $instance;
 }
Beispiel #2
0
 /**
  * @param string $name
  * @param \Exception $exception
  */
 public function __construct($name, \Exception $exception)
 {
     parent::__construct($name);
     $this->exception = $exception;
 }