Index
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

A

AnnotationClass in namespace TRex\Annotation
Class Annotation
AnnotationParserClass in namespace TRex\Annotation
AnnotationParser parse doc comment to Annotation.
AnnotationsClass in namespace TRex\Annotation
Class Annotations.
IDynamicObject::addMethod() — Method in class IDynamicObject
Adds a dynamic method to the object.
IObjects::addFirst() — Method in class IObjects
Adds values at the beginning of the list.
IObjects::addLast() — Method in class IObjects
Adds values at the end of the list.
Object::addMethod() — Method in class Object
Adds a dynamic method to the object.
Objects::addFirst() — Method in class Objects
Adds values at the beginning of the list.
Objects::addLast() — Method in class Objects
Adds values at the end of the list.
IIterator::addAt() — Method in class IIterator
Sets a value for a specified offset.
IteratorAdapter::addAt() — Method in class IteratorAdapter
Sets a value for a specified offset.
TIterator::addAt() — Method in class TIterator
See IIterator.
ClassLoader::addVendor() — Method in class ClassLoader
Adds vendor data.
ClassLoader::addVendors() — Method in class ClassLoader
Add sa list of vendor data.
AttributeReflectionClass in namespace TRex\Reflection
Class AttributeReflection Main class for reflection of the different parts of a class.

C

Json::createFromString() — Method in class Json
Instantiates a Json from a string.
IIterator::current() — Method in class IIterator
Gets the current array entry.
IIterator::count() — Method in class IIterator
Gets the number of elements in the array, or the number of public properties in the object.
IteratorAdapter::current() — Method in class IteratorAdapter
Gets the current array entry.
IteratorAdapter::count() — Method in class IteratorAdapter
Gets the number of elements in the array, or the number of public properties in the object.
TIterator::current() — Method in class TIterator
See IIterator.
TIterator::count() — Method in class TIterator
See IIterator.
ClassLoaderClass in namespace TRex\Loader
ClassLoader loads the file of a php class.
ClassReflectionClass in namespace TRex\Reflection
Class ClassReflection Reflected a class (but not an object)
DataToArrayCaster::cast() — Method in class DataToArrayCaster
Converts.
ICaster::cast() — Method in class ICaster
Converts.
ObjectToArrayCaster::cast() — Method in class ObjectToArrayCaster
Converts.

D

IObjectsComparator::diff() — Method in class IObjectsComparator
Compares current IObject values with the IObject params.
IObjectsComparator::diffA() — Method in class IObjectsComparator
Compares current IObject values and keys with the IObject params.
IObjectsComparator::diffK() — Method in class IObjectsComparator
Compares current IObject keys with the IObject params.
TObjectsComparator::diff() — Method in class TObjectsComparator
See IObjectsComparator.
TObjectsComparator::diffA() — Method in class TObjectsComparator
See IObjectsComparator.
TObjectsComparator::diffK() — Method in class TObjectsComparator
See IObjectsComparator.
DataToArrayCasterClass in namespace TRex\Serialization
DataToArrayCaster converts any data to array.

E

EnumClass in namespace TRex\Core
Enum represents a value in a possible list.
IObjectsModifier::extract() — Method in class IObjectsModifier
Extracts the sequence of elements.
IObjectsModifier::each() — Method in class IObjectsModifier
Executes the callback for every value.
TObjectsModifier::extract() — Method in class TObjectsModifier
See IObjectsComparator.
TObjectsModifier::each() — Method in class TObjectsModifier
See IObjectsComparator.
IIterator::exist() — Method in class IIterator
Checks if the offset exists.
IteratorAdapter::exist() — Method in class IteratorAdapter
Checks if the offset exists.
TIterator::exist() — Method in class TIterator
See IIterator.

F

IObjects::first() — Method in class IObjects
Gets the first value.
IObjectsModifier::filter() — Method in class IObjectsModifier
Executes the callback for every value.
Objects::first() — Method in class Objects
Gets the first value.
TObjectsModifier::filter() — Method in class TObjectsModifier
See IObjectsComparator.

G

AnnotationParser::getAnnotations() — Method in class AnnotationParser
Parse doc comment to Annotations.
Annotations::get() — Method in class Annotations
{@inheritDoc}
Enum::getConstList() — Method in class Enum
Returns the list of the possible values.
Enum::getValue() — Method in class Enum
Returns the current value.
IEnum::getConstList() — Method in class IEnum
Returns the list of the possible values.
IEnum::getValue() — Method in class IEnum
Returns the current value.
IObjects::getByIndex() — Method in class IObjects
Gets the value of the associate index.
Json::getErrorMessage() — Method in class Json
Returns a message for a json conversion error.
Json::getOptions() — Method in class Json
Returns the current options for the string conversion.
Objects::getIterator() — Method in class Objects
Returns the current iterator.
Objects::getByIndex() — Method in class Objects
Gets the value of the associate index.
TObjectsModifier::getIterator() — Method in class TObjectsModifier
Needs IIterator.
IIterator::get() — Method in class IIterator
Gets the value from the provided offset.
IKeyAccessor::getKeys() — Method in class IKeyAccessor
Returns all keys.
IKeyAccessor::getKey() — Method in class IKeyAccessor
Returns the key associated to the specified offset.
IKeyAccessor::getFirstKey() — Method in class IKeyAccessor
Gets the first key.
IKeyAccessor::getLastKey() — Method in class IKeyAccessor
Get the last key.
IteratorAdapter::get() — Method in class IteratorAdapter
Gets the value from the provided offset.
SortType::getValue() — Method in class SortType
Returns the current value.
TArrayAccess::getIterator() — Method in class TArrayAccess
Needs IIterator.
TIterator::getIterator() — Method in class TIterator
Needs IIterator.
TIterator::get() — Method in class TIterator
See IIterator.
TIteratorSorter::getIterator() — Method in class TIteratorSorter
Needs IIterator.
TKeyAccessor::getIterator() — Method in class TKeyAccessor
Needs IIterator.
TKeyAccessor::getKeys() — Method in class TKeyAccessor
See IKeyAccessor.
TKeyAccessor::getKey() — Method in class TKeyAccessor
See IKeyAccessor.
TKeyAccessor::getFirstKey() — Method in class TKeyAccessor
See IKeyAccessor.
TKeyAccessor::getLastKey() — Method in class TKeyAccessor
See IKeyAccessor.
ClassLoader::getClassPath() — Method in class ClassLoader
Gets the path of the file containing the class $className.
ClassLoader::getSourcePath() — Method in class ClassLoader
Gets a vendor source path.
ClassLoader::getRootDir() — Method in class ClassLoader
Gets a vendor root dir.
ClassLoader::getRealPath() — Method in class ClassLoader
Gets a vendor real path.
ClassLoader::getBasePath() — Method in class ClassLoader
Getter of the common root of all paths.
AttributeReflection::getName() — Method in class AttributeReflection
Returns the name of the reflected object, class, property or method.
AttributeReflection::getClassReflection() — Method in class AttributeReflection
Returns the reflector of the class where the attribute is declaring.
AttributeReflection::getAnnotations() — Method in class AttributeReflection
Returns the comment annotations of the attributes.
AttributeReflection::getTypeReflections() — Method in class AttributeReflection
Returns a list of all types of the attributes.
ClassReflection::getReflectionProperties() — Method in class ClassReflection
Returns the property of the reflected class and all of its parents (This last point is the main difference with the PHP reflection).
ObjectReflection::getObject() — Method in class ObjectReflection
Gets the current reflected object.
PropertyReflection::getValue() — Method in class PropertyReflection
Extracts the value of the property of an object.
Reflection::getName() — Method in class Reflection
Returns the name of the reflected object, class, property or method.
TypeReflection::getType() — Method in class TypeReflection
Gets the reflected type.
TypeReflection::getStandardizedType() — Method in class TypeReflection
Depending on the type, returns a standardized type, a constant value of XXX_TYPE.
Hasher::getHashMethod() — Method in class Hasher
Gets the current hash method.
ObjectToArrayCaster::getFilter() — Method in class ObjectToArrayCaster
Gets the filter.

H

IObjectsSearcher::has() — Method in class IObjectsSearcher
Indicates whether the value is present.
TObjectsSearcher::has() — Method in class TObjectsSearcher
See IObjectsComparator.
ClassLoader::hasVendor() — Method in class ClassLoader
Indicates whether a vendor has been already added.
HashMethodClass in namespace TRex\Serialization
Possible hash methods for Hasher.
HasherClass in namespace TRex\Serialization
Hasher calculate a hash string for different kind of data.
Hasher::hash() — Method in class Hasher
Hash $data with the specified hash method.
Hasher::hashClass() — Method in class Hasher
Hash by class.
Hasher::hashObject() — Method in class Hasher
Hash for object.
Hasher::hashArray() — Method in class Hasher
Hash for array.

I

Enum::is() — Method in class Enum
Indicates whether the current value is $expectedValue.
IDynamicObjectClass in namespace TRex\Core
Describes an object with dynamic attributes.
IDynamicObject::isDynamic() — Method in class IDynamicObject
Indicates whether the current object has dynamic properties access.
IEnumClass in namespace TRex\Core
Enum represents a value in a possible list.
IEnum::is() — Method in class IEnum
Indicates whether the current value is $expectedValue.
IObjectClass in namespace TRex\Core
Base object.
IObjectsClass in namespace TRex\Core
IObjects is a oriented object array.
IObjectsComparatorClass in namespace TRex\Core
Interface IObjectsComparator
IObjectsComparator::intersect() — Method in class IObjectsComparator
Compares current IObject values with the IObject params.
IObjectsComparator::intersectA() — Method in class IObjectsComparator
Compares current IObject values and keys with the IObject params.
IObjectsComparator::intersectK() — Method in class IObjectsComparator
Compares current IObject keys with the IObject params.
IObjectsModifierClass in namespace TRex\Core
Interface IObjectsModifier
IObjectsSearcherClass in namespace TRex\Core
Interface IObjectsSearcher
Object::isDynamic() — Method in class Object
Indicates whether the current object has dynamic properties access.
TObjectsComparator::intersect() — Method in class TObjectsComparator
See IObjectsComparator.
TObjectsComparator::intersectA() — Method in class TObjectsComparator
See IObjectsComparator.
TObjectsComparator::intersectK() — Method in class TObjectsComparator
See IObjectsComparator.
IIteratorClass in namespace TRex\Iterator
Interface IIterator.
IIteratorSorterClass in namespace TRex\Iterator
Interface IIteratorSorter.
IKeyAccessorClass in namespace TRex\Iterator
Interface IKeyAccessor.
IObjectsIteratorClass in namespace TRex\Iterator
Interface IObjectsIterator.
IteratorAdapterClass in namespace TRex\Iterator
Adapts \ArrayIterator to TRex\Iterator IObjectsIterator.
ClassLoader::isErrorDisplayed() — Method in class ClassLoader
Indicates whether self::load displays an exception.
AttributeReflection::isTransient() — Method in class AttributeReflection
Transient is a comment tag (@transient) added to a class, a property or a method.
MethodReflection::instantiate() — Method in class MethodReflection
Instantiates a new MethodReflection from a PHP reflector.
PropertyReflection::instantiate() — Method in class PropertyReflection
Instantiates a new PropertyReflection from a PHP reflector.
Reflection::isTransient() — Method in class Reflection
Transient is a comment tag (@transient) added to a class, a property or a method.
TypeReflection::isVoid() — Method in class TypeReflection
Indicates whether the reflected type is void.
TypeReflection::isMixed() — Method in class TypeReflection
Indicates whether the reflected type is mixed.
TypeReflection::isNull() — Method in class TypeReflection
Indicates whether the reflected type is null.
TypeReflection::isBoolean() — Method in class TypeReflection
Indicates whether the reflected type is boolean.
TypeReflection::isString() — Method in class TypeReflection
Indicates whether the reflected type is string.
TypeReflection::isInteger() — Method in class TypeReflection
Indicates whether the reflected type is integer.
TypeReflection::isFloat() — Method in class TypeReflection
Indicates whether the reflected type is float.
TypeReflection::isNumber() — Method in class TypeReflection
Indicates whether the reflected type is number.
TypeReflection::isScalar() — Method in class TypeReflection
Indicates whether the reflected type is scalar.
TypeReflection::isArray() — Method in class TypeReflection
Indicates whether the reflected type is array.
TypeReflection::isObject() — Method in class TypeReflection
Indicates whether the reflected type is object.
TypeReflection::isResource() — Method in class TypeReflection
Indicates whether the reflected type is resource.
IArrayCastableClass in namespace TRex\Serialization
Describes an object which can be converted to an array.
ICasterClass in namespace TRex\Serialization
Interface ICaster.
IJsonCastableClass in namespace TRex\Serialization
Describes an object which can be converted to a Json.
ObjectToArrayCaster::isExplicitRecursion() — Method in class ObjectToArrayCaster
Indicates whether recursive value are visible.
ObjectToArrayCaster::isFullName() — Method in class ObjectToArrayCaster
Indicates whether the returned keys will contain the class name before the property name.
ObjectToArrayCaster::isRecursive() — Method in class ObjectToArrayCaster
Indicates whether the recursion is active.

J

JsonClass in namespace TRex\Core
Json is a JSON abstraction.

K

IIterator::key() — Method in class IIterator
Gets the current array key.
IteratorAdapter::key() — Method in class IteratorAdapter
Gets the current array key.
TIterator::key() — Method in class TIterator
See IIterator.

L

IObjects::last() — Method in class IObjects
Gets the last value.
Objects::last() — Method in class Objects
Gets the last value.
ClassLoader::load() — Method in class ClassLoader
Loads a php class.

M

IObjectsComparator::merge() — Method in class IObjectsComparator
Merges a series of IObjects.
IObjectsComparator::mergeA() — Method in class IObjectsComparator
Merges a series of IObjects.
TObjectsComparator::merge() — Method in class TObjectsComparator
See IObjectsComparator.
TObjectsComparator::mergeA() — Method in class TObjectsComparator
See IObjectsComparator.
MethodReflectionClass in namespace TRex\Reflection
Class MethodReflection.

N

IIterator::next() — Method in class IIterator
Sets the iterator to the next entry.
IteratorAdapter::next() — Method in class IteratorAdapter
Sets the iterator to the next entry.
TIterator::next() — Method in class TIterator
See IIterator.

O

ObjectClass in namespace TRex\Core
Base object.
ObjectsClass in namespace TRex\Core
IObjects is a oriented object array.
TArrayAccess::offsetExists() — Method in class TArrayAccess
See \ArrayAccess doc.
TArrayAccess::offsetGet() — Method in class TArrayAccess
See \ArrayAccess doc.
TArrayAccess::offsetSet() — Method in class TArrayAccess
See \ArrayAccess doc.
TArrayAccess::offsetUnset() — Method in class TArrayAccess
See \ArrayAccess doc.
ObjectReflectionClass in namespace TRex\Reflection
Class ObjectReflection
ObjectToArrayCasterClass in namespace TRex\Serialization
ObjectToArrayCaster converts object to array.

P

AnnotationParser::parseTypeComment() — Method in class AnnotationParser
Parse a type doc comment.
PropertyReflectionClass in namespace TRex\Reflection
Class PropertyReflection.

R

IObjects::removeFirst() — Method in class IObjects
Removes first value of the list.
IObjects::removeLast() — Method in class IObjects
Removes last value of the list.
Objects::removeFirst() — Method in class Objects
Removes first value of the list.
Objects::removeLast() — Method in class Objects
Removes last value of the list.
IIterator::rewind() — Method in class IIterator
Rewinds the iterator to the beginning.
IIterator::removeAt() — Method in class IIterator
Unsets a value for an offset.
IIteratorSorter::reindex() — Method in class IIteratorSorter
Reindex the key numerically.
IIteratorSorter::reverse() — Method in class IIteratorSorter
Reverses the order of the values.
IteratorAdapter::removeAt() — Method in class IteratorAdapter
Unsets a value for an offset.
IteratorAdapter::rewind() — Method in class IteratorAdapter
Rewinds the iterator to the beginning.
TIterator::rewind() — Method in class TIterator
See IIterator.
TIterator::removeAt() — Method in class TIterator
See IIterator.
TIteratorSorter::reindex() — Method in class TIteratorSorter
See IIteratorSorter.
TIteratorSorter::reverse() — Method in class TIteratorSorter
See IIteratorSorter.
ClassLoader::register() — Method in class ClassLoader
Starts auto-loading of php classes.
ClassLoader::removeVendor() — Method in class ClassLoader
Removes a vendor.
ReflectionClass in namespace TRex\Reflection
Class Reflection.

S

IDynamicObject::setDynamic() — Method in class IDynamicObject
Sets dynamic properties access.
IObjectsSearcher::search() — Method in class IObjectsSearcher
Searches the keys for the value.
Json::setOptions() — Method in class Json
Sets the current options for the string conversion.
Object::setDynamic() — Method in class Object
Sets dynamic properties access.
Objects::setIterator() — Method in class Objects
Sets the current Iterator.
TObjectsSearcher::search() — Method in class TObjectsSearcher
See IObjectsComparator.
IIterator::seek() — Method in class IIterator
Sets the iterator to a specified offset.
IIteratorSorter::sort() — Method in class IIteratorSorter
Sorts values.
IteratorAdapter::seek() — Method in class IteratorAdapter
Sets the iterator to a specified offset.
SortTypeClass in namespace TRex\Iterator
Class SortType.
TIterator::seek() — Method in class TIterator
See IIterator.
TIteratorSorter::sort() — Method in class TIteratorSorter
See IIteratorSorter.
ClassLoader::setBasePath() — Method in class ClassLoader
Setter of the common root of all paths.
ClassLoader::setErrorDisplayed() — Method in class ClassLoader
Sets the display of exception for self::load.
Hasher::setHashMethod() — Method in class Hasher
Sets the current hash method.
ObjectToArrayCaster::setExplicitRecursion() — Method in class ObjectToArrayCaster
Sets the visibility of recursive value.
ObjectToArrayCaster::setFilter() — Method in class ObjectToArrayCaster
Sets the filter.
ObjectToArrayCaster::setFullName() — Method in class ObjectToArrayCaster
Sets the returned keys type.
ObjectToArrayCaster::setRecursive() — Method in class ObjectToArrayCaster
Sets whether the recursion is active.

T

Json::toArray() — Method in class Json
Converts an object to an array.
Object::toArray() — Method in class Object
Converts an object to an array.
Object::toJson() — Method in class Object
Converts an object to a Json object.
TObjectsComparatorClass in namespace TRex\Core
Class TObjectsComparator.
TObjectsModifierClass in namespace TRex\Core
Class TObjectsModifier.
TObjectsSearcherClass in namespace TRex\Core
Class TObjectsSearcher.
TObjectsSearcher::toArray() — Method in class TObjectsSearcher
Needs toArray.
IIterator::toArray() — Method in class IIterator
{@inheritDoc}
IteratorAdapter::toArray() — Method in class IteratorAdapter
Converts an object to an array.
TArrayAccessClass in namespace TRex\Iterator
Implements \ArrayAccess.
TIteratorClass in namespace TRex\Iterator
Implements IIterator.
TIterator::toArray() — Method in class TIterator
See IIterator.
TIteratorSorterClass in namespace TRex\Iterator
Class TIteratorSorter Implements IIteratorSorter.
TKeyAccessorClass in namespace TRex\Iterator
Implements IKeyAccessor.
TypeReflectionClass in namespace TRex\Reflection
TypeReflection reflect the types.
IArrayCastable::toArray() — Method in class IArrayCastable
Converts an object to an array.
IJsonCastable::toJson() — Method in class IJsonCastable
Converts an object to a Json object.

U

ClassLoader::unRegister() — Method in class ClassLoader
Stops auto-loading of php classes.

V

IIterator::valid() — Method in class IIterator
Checks if the array contains any more entries.
IteratorAdapter::valid() — Method in class IteratorAdapter
Checks if the array contains any more entries.
TIterator::valid() — Method in class TIterator
See IIterator.

_

Enum::__construct() — Method in class Enum
Constructor.
IEnum::__construct() — Method in class IEnum
Constructor.
Json::__construct() — Method in class Json
Constructor.
Json::__toString() — Method in class Json
See PHP doc.
Object::__construct() — Method in class Object
Constructor.
Object::__get() — Method in class Object
See PHP doc.
Object::__set() — Method in class Object
See PHP doc.
Object::__call() — Method in class Object
See PHP doc.
Object::__toString() — Method in class Object
See PHP doc.
Objects::__construct() — Method in class Objects
Constructor.
IteratorAdapter::__construct() — Method in class IteratorAdapter
Constructor.
ClassLoader::__construct() — Method in class ClassLoader
Constructor.
AttributeReflection::__construct() — Method in class AttributeReflection
Constructor.
ClassReflection::__construct() — Method in class ClassReflection
Constructor.
ObjectReflection::__construct() — Method in class ObjectReflection
Constructor.
Reflection::__construct() — Method in class Reflection
Constructor.
TypeReflection::__construct() — Method in class TypeReflection
Constructor.
Hasher::__construct() — Method in class Hasher
Constructor.