/** * Constructs ServiceContainerException * * @param string $message The message * @param string|null $service The service name * @param Exception|null $previous The previous exception */ public function __construct(string $message, string $service = null, Exception $previous = null) { $this->service = $service; parent::__construct($message, 0, $previous); }
/** * Constructs ServiceContainerException * * @param string $message The message * @param string|null $template The template name * @param Exception|null $previous The previous exception */ public function __construct(string $message, string $template = null, Exception $previous = null) { $this->template = $template; parent::__construct($message, 0, $previous); }
/** * Constructs FilesystemException * * @param string $message The message * @param string|null $path The file path * @param Exception|null $previous The previous exception */ public function __construct(string $message, string $path = null, Exception $previous = null) { $this->path = $path; parent::__construct($message, 0, $previous); }