/** * Constructor * * @param string $message * @param \Oryzone\MediaStorage\Provider\ProviderInterface $provider * @param \Oryzone\MediaStorage\Model\MediaInterface $media * @param \Oryzone\MediaStorage\Variant\VariantInterface $variant * @param int $code * @param \Exception $previous */ public function __construct($message = "", ProviderInterface $provider = NULL, MediaInterface $media = NULL, VariantInterface $variant = NULL, $code = 0, \Exception $previous = null) { $this->provider = $provider; $this->media = $media; $this->variant = $variant; parent::__construct($message, $code, $previous); }
/** * Constructor * * @param string $message * @param mixed $source * @param int $code * @param null $previous */ public function __construct($message = "", $source = NULL, $code = 0, $previous = NULL) { parent::__construct($message, $code, $previous); $this->source = $source; }
/** * Constructor * * @param string $message * @param \Oryzone\MediaStorage\Persistence\PersistenceAdapterInterface $persistenceAdapter * @param int $code * @param \Exception $previous */ public function __construct($message = "", PersistenceAdapterInterface $persistenceAdapter = NULL, $code = 0, \Exception $previous = null) { parent::__construct($message, $code, $previous); $this->persistenceAdapter = $persistenceAdapter; }