Limpieza de objetos externos
This commit is contained in:
14
api/Psr/Collection/CollectionInterface.php
Normal file
14
api/Psr/Collection/CollectionInterface.php
Normal file
@ -0,0 +1,14 @@
|
||||
<?php
|
||||
namespace Psr\Collection;
|
||||
|
||||
use Iterator, ArrayAccess, Countable;
|
||||
|
||||
interface CollectionInterface extends Iterator, ArrayAccess, Countable
|
||||
{
|
||||
public function set(mixed $name, $value): CollectionInterface;
|
||||
public function has(mixed $name): bool;
|
||||
public function get(mixed $name);
|
||||
public function remove(mixed $name): CollectionInterface;
|
||||
public static function fromArray(array $source): CollectionInterface;
|
||||
public static function fromObject(object $source): CollectionInterface;
|
||||
}
|
Reference in New Issue
Block a user