A

AbstractArrayClass in namespace Ramsey\Collection
This class provides an implementation of the ArrayInterface, to minimize the effort required to implement this interface
AbstractCollectionClass in namespace Ramsey\Collection
This class provides an implementation of the CollectionInterface, to minimize the effort required to implement this interface
AbstractCollection::add() — Method in class AbstractCollection
Ensures that this collection contains the specified element (optional operation). Returns true if this collection changed as a result of the call. (Returns false if this collection does not permit duplicates and already contains the specified element.)
ArrayInterfaceClass in namespace Ramsey\Collection
Implementing this interface allows an object to be the target of the "for-each loop" statement
CollectionInterface::add() — Method in class CollectionInterface
Ensures that this collection contains the specified element (optional operation). Returns true if this collection changed as a result of the call. (Returns false if this collection does not permit duplicates and already contains the specified element.)
AbstractMapClass in namespace Ramsey\Collection\Map
This class provides an implementation of the MapInterface, to minimize the effort required to implement this interface
AssociativeArrayMapClass in namespace Ramsey\Collection\Map
AssociativeArrayMap represents a standard associative array object

C

AbstractArray::count() — Method in class AbstractArray
Returns the number of elements contained in this array
AbstractArray::clear() — Method in class AbstractArray
Remove all the elements from this array object
AbstractCollection::contains() — Method in class AbstractCollection
Returns true if this collection contains the specified element
ArrayInterface::clear() — Method in class ArrayInterface
Remove all the elements from this array object
CollectionClass in namespace Ramsey\Collection
A collection represents a group of objects. Each object in the collection is of a specific, defined type.
CollectionInterfaceClass in namespace Ramsey\Collection
A collection represents a group of objects, known as its elements. Some collections allow duplicate elements and others do not. Some are ordered and others unordered.
CollectionInterface::contains() — Method in class CollectionInterface
Returns true if this collection contains the specified element
AbstractMap::containsKey() — Method in class AbstractMap
Returns true if this map contains a mapping for the specified key
AbstractMap::containsValue() — Method in class AbstractMap
Returns true if this map maps one or more keys to the specified value
MapInterface::containsKey() — Method in class MapInterface
Returns true if this map contains a mapping for the specified key
MapInterface::containsValue() — Method in class MapInterface
Returns true if this map maps one or more keys to the specified value
TypeTrait::checkType() — Method in class TypeTrait
Returns true if value is of the specified type

D

$AbstractArray#dataProperty in class AbstractArray

F

NamedParameterMap::filterNamedParameters() — Method in class NamedParameterMap
Given an array of named parameters, constructs a proper mapping of named parameters to types

G

AbstractArray::getIterator() — Method in class AbstractArray
Returns a new iterator from this array
AbstractCollection::getType() — Method in class AbstractCollection
Returns the type associated with this collection
CollectionInterface::getType() — Method in class CollectionInterface
Returns the type associated with this collection
GenericArrayClass in namespace Ramsey\Collection
GenericArray represents a standard array object
AbstractMap::get() — Method in class AbstractMap
Returns the value to which the specified key is mapped, null if this map contains no mapping for the key, or (optionally) $defaultValue if this map contains no mapping for the key
MapInterface::get() — Method in class MapInterface
Returns the value to which the specified key is mapped, null if this map contains no mapping for the key, or (optionally) $defaultValue if this map contains no mapping for the key
NamedParameterMap::getNamedParameters() — Method in class NamedParameterMap
Returns named parameters set for this NamedParameterMap

I

AbstractArray::isEmpty() — Method in class AbstractArray
Returns true if this array object contains no elements
ArrayInterface::isEmpty() — Method in class ArrayInterface
Returns true if this array object contains no elements

M

MapInterfaceClass in namespace Ramsey\Collection\Map
An object that maps keys to values

N

NamedParameterMapClass in namespace Ramsey\Collection\Map
NamedParameterMap represents a mapping of values to a set of named keys that may optionally be typed
$NamedParameterMap#namedParametersProperty in class NamedParameterMap

O

AbstractArray::offsetExists() — Method in class AbstractArray
Checks whether the specified offset exists in the array
AbstractArray::offsetGet() — Method in class AbstractArray
Returns the value stored at the specified offset in the array
AbstractArray::offsetSet() — Method in class AbstractArray
Sets the specified offset in the map with the given value
AbstractArray::offsetUnset() — Method in class AbstractArray
Removes the specified offset and its value from the map
AbstractCollection::offsetSet() — Method in class AbstractCollection
Sets the specified offset in the map with the given value
AbstractMap::offsetSet() — Method in class AbstractMap
Sets the specified offset in the map with the given value
NamedParameterMap::offsetSet() — Method in class NamedParameterMap
Sets the specified offset in the map with the given value

P

AbstractMap::put() — Method in class AbstractMap
Associates the specified value with the specified key in this map
AbstractMap::putIfAbsent() — Method in class AbstractMap
If the specified key is not already associated with a value (or is mapped to null) associates it with the given value and returns null, else returns the current value
MapInterface::put() — Method in class MapInterface
Associates the specified value with the specified key in this map
MapInterface::putIfAbsent() — Method in class MapInterface
If the specified key is not already associated with a value (or is mapped to null) associates it with the given value and returns null, else returns the current value

R

AbstractCollection::remove() — Method in class AbstractCollection
Removes a single instance of the specified element from this collection, if it is present
CollectionInterface::remove() — Method in class CollectionInterface
Removes a single instance of the specified element from this collection, if it is present
AbstractMap::remove() — Method in class AbstractMap
Removes the mapping for a key from this map if it is present
AbstractMap::removeIf() — Method in class AbstractMap
Removes the entry for the specified key only if it is currently mapped to the specified value
AbstractMap::replace() — Method in class AbstractMap
Replaces the entry for the specified key only if it is currently mapped to some value
AbstractMap::replaceIf() — Method in class AbstractMap
Replaces the entry for the specified key only if currently mapped to the specified value
MapInterface::remove() — Method in class MapInterface
Removes the mapping for a key from this map if it is present
MapInterface::removeIf() — Method in class MapInterface
Removes the entry for the specified key only if it is currently mapped to the specified value
MapInterface::replace() — Method in class MapInterface
Replaces the entry for the specified key only if it is currently mapped to some value
MapInterface::replaceIf() — Method in class MapInterface
Replaces the entry for the specified key only if currently mapped to the specified value

S

AbstractArray::serialize() — Method in class AbstractArray
Converts this map object to a string when the object is serialized with serialize()

T

AbstractArray::toArray() — Method in class AbstractArray
Returns a native PHP array containing all of the elements in this array object
ArrayInterface::toArray() — Method in class ArrayInterface
Returns a native PHP array containing all of the elements in this array object
TypeTraitClass in namespace Ramsey\Collection\Tool
Provides functionality to check values for specific types

U

AbstractArray::unserialize() — Method in class AbstractArray
Re-constructs the object from its serialized form

_

AbstractArray::__construct() — Method in class AbstractArray
Constructs a new array object
AbstractCollection::__construct() — Method in class AbstractCollection
Constructs a collection object of the specified type
NamedParameterMap::__construct() — Method in class NamedParameterMap
Constructs a new NamedParameterMap object