Remove unused class
This commit is contained in:
parent
df67dafb8e
commit
9db6a5f623
1 changed files with 0 additions and 25 deletions
|
@ -1,25 +0,0 @@
|
|||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Loom\Spinner\Classes\Collection;
|
||||
|
||||
use Loom\Utility\Collection\AbstractCollection;
|
||||
use Loom\Utility\FilePath\FilePath;
|
||||
|
||||
class FilePathCollection extends AbstractCollection
|
||||
{
|
||||
public function __construct(array $items = [])
|
||||
{
|
||||
$items = array_filter($items, function ($item) {
|
||||
return $item instanceof FilePath;
|
||||
});
|
||||
|
||||
parent::__construct($items);
|
||||
}
|
||||
|
||||
public function get(string $key): ?FilePath
|
||||
{
|
||||
return $this->items[$key] ?? null;
|
||||
}
|
||||
}
|
Loading…
Add table
Reference in a new issue