123456789101112131415161718192021222324252627282930313233343536 |
- <?php
- namespace Symfony\Component\Filesystem\Exception;
- class IOException extends \RuntimeException implements IOExceptionInterface
- {
- private ?string $path;
- public function __construct(string $message, int $code = 0, ?\Throwable $previous = null, ?string $path = null)
- {
- $this->path = $path;
- parent::__construct($message, $code, $previous);
- }
- public function getPath(): ?string
- {
- return $this->path;
- }
- }
|