public function __construct($targetObject, $targetMethod, $arguments = [], $result = NULL) { parent::__construct($targetObject, $targetMethod, $arguments); $this->result = $result; }
public function __construct($targetObject, $targetMethod, $arguments = []) { parent::__construct($targetObject, $targetMethod, $arguments); }
/** * @param $targetObject * @param $targetMethod * @param array $arguments * @param \Exception|\Throwable|NULL $exception */ public function __construct($targetObject, $targetMethod, $arguments = [], $exception = NULL) { parent::__construct($targetObject, $targetMethod, $arguments); $this->exception = $exception; }