mirror of
https://github.com/bitinflow/bunny-cli.git
synced 2026-03-13 21:55:54 +00:00
Improve caching, performance and add dry-run
This commit is contained in:
13
app/Bunny/Filesystem/Exceptions/FileNotFoundException.php
Normal file
13
app/Bunny/Filesystem/Exceptions/FileNotFoundException.php
Normal file
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
|
||||
namespace App\Bunny\Filesystem\Exceptions;
|
||||
|
||||
use App\Bunny\Filesystem\File;
|
||||
|
||||
class FileNotFoundException extends FilesystemException
|
||||
{
|
||||
public static function fromFile(File $file): self
|
||||
{
|
||||
return new self(sprintf('The file %s was not found.', $file->getFilename()));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user