public function __construct(Profile $target, Avatar $obj) { $this->target = $target; parent::__construct($obj); }
/** * Constructor * * @param string $message * @param array $exceptions Array of Exception instances */ public function __construct($message = '', array $exceptions = array()) { parent::__construct($message); $this->exceptions = $exceptions; }