Limpieza de objetos externos

This commit is contained in:
2022-08-08 22:36:04 -04:00
parent a9968dec58
commit cdb4b382b7
57 changed files with 1210 additions and 339 deletions

View 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;
}