Index
A
- AbstractReflectionValue — Class in namespace Reflectors
- Basic implementation of the
\Reflectors\ReflectionValueInterface
with read-only properties. - AbstractReflectionValueProxy — Class in namespace Reflectors
- Use this class to define a `ReflectionValue.
D
- $ ReflectionSource — Property in class ReflectionSource
E
- ReflectorTrait::export() — Method in class ReflectorTrait
- Creation of a new instance of the mother class on-the-fly
G
- AbstractReflectionValue::getValue() — Method in class AbstractReflectionValue
- Returns the current value
- AbstractReflectionValue::getValueType() — Method in class AbstractReflectionValue
- Returns the type of the value
- ReflectionBacktrace::getRawTraces() — Method in class ReflectionBacktrace
- Returns the original backtrace array
- ReflectionBacktrace::getTraces() — Method in class ReflectionBacktrace
- Returns the backtrace array with each item as a
\Reflectors\ReflectionTrace
object - ReflectionBacktrace::getLength() — Method in class ReflectionBacktrace
- Returns the length of the backtrace (affected by the
$limit
argument if so) - ReflectionBacktrace::getTrace() — Method in class ReflectionBacktrace
- Returns a specific trace of the backtrace table as a
\Reflectors\ReflectionTrace
object - ReflectionCallback::getCallback() — Method in class ReflectionCallback
- Returns the original callback content
- ReflectionCallback::getCallbackType() — Method in class ReflectionCallback
- Returns the callback type
- ReflectionCallback::getType() — Method in class ReflectionCallback
- Returns the callback type (alias of
self::getCallbackType()
) - ReflectionCallback::getReflector() — Method in class ReflectionCallback
- Returns the reflector of the callback
- ReflectionCallback::getFunctionName() — Method in class ReflectionCallback
- Returns the function or method name if defined
- ReflectionCallback::getClassName() — Method in class ReflectionCallback
- Returns the class or object class name if defined
- ReflectionParameterValue::getValue() — Method in class ReflectionParameterValue
- Returns the value of the parameter
- ReflectionParameterValue::getValueType() — Method in class ReflectionParameterValue
- Returns the type of the parameter
- ReflectionSource::getFilePath() — Method in class ReflectionSource
- Returns the path of concerned file
- ReflectionSource::getLineNo() — Method in class ReflectionSource
- Returns the concerned line number (if defined)
- ReflectionSource::getContext() — Method in class ReflectionSource
- Returns the context or one of its items
- ReflectionSource::getSource() — Method in class ReflectionSource
- Get the source code of the file in a line-by-line array
- ReflectionTrace::getCalled() — Method in class ReflectionTrace
- Returns a representation of called method or function
- ReflectionTrace::getObject() — Method in class ReflectionTrace
- Returns the object if defined
- ReflectionTrace::getClassName() — Method in class ReflectionTrace
- Returns the class name if defined
- ReflectionTrace::getClass() — Method in class ReflectionTrace
- Returns the class as a
\ReflectionClass
object if defined - ReflectionTrace::getFunctionName() — Method in class ReflectionTrace
- Returns the function name if defined
- ReflectionTrace::getFunction() — Method in class ReflectionTrace
- Returns the class as a
\ReflectionFunction
or\ReflectionMethod
object if defined - ReflectionTrace::getLine() — Method in class ReflectionTrace
- Returns concerned line if defined
- ReflectionTrace::getFile() — Method in class ReflectionTrace
- Returns concerned file if defined
- ReflectionTrace::getType() — Method in class ReflectionTrace
- Returns concerned type if defined
- ReflectionTrace::getArgs() — Method in class ReflectionTrace
- Returns the trace arguments as the original array
- ReflectionTrace::getArguments() — Method in class ReflectionTrace
- Returns the trace arguments as an array of
\Reflectors\ReflectionParameterValue
or\ReflectionParameter
items - ReflectionValue::getReflector() — Method in class ReflectionValue
- Returns the variable reflector
- ReflectionValue::getValue() — Method in class ReflectionValue
- Returns the variable's value from the reflector
- ReflectionValue::getValueType() — Method in class ReflectionValue
- Returns the variable's type from the reflector
- ReflectionValueInterface::getValue() — Method in class ReflectionValueInterface
- Returns the current value of concerned variable
- ReflectionValueInterface::getValueType() — Method in class ReflectionValueInterface
- Returns the type of the value of concerned variable
- ValueType::getType() — Method in class ValueType
- Returns a value type by testing it in the
$order
order. - ValueType::getReflector() — Method in class ValueType
- Returns a reflector for the value by testing its type in the
$order
order. - ValueType::getCallbackType() — Method in class ValueType
- Returns the type of a callback
- ReflectionArray::getArray() — Method in class ReflectionArray
- Returns the full array itself
- ReflectionArray::getKeys() — Method in class ReflectionArray
- Returns the keys of the array
- ReflectionArray::getValues() — Method in class ReflectionArray
- Returns the values of the array
- ReflectionArray::getLength() — Method in class ReflectionArray
- Returns the length of the array
- ReflectionArray::getItem() — Method in class ReflectionArray
- Get a specific item of the array
- ReflectionCallback::getCallback() — Method in class ReflectionCallback
- Returns the callable value (ready to be called).
- ReflectionCallback::getReflector() — Method in class ReflectionCallback
- Returns a reflector object for the callable
- ReflectionCallback::getCallbackType() — Method in class ReflectionCallback
- Returns the type of the value
- ReflectionObject::getValue() — Method in class ReflectionObject
- Returns the current value
- ReflectionObject::getValueType() — Method in class ReflectionObject
- Returns the type of the value
- ReflectionResource::getResourceType() — Method in class ReflectionResource
- Returns the type of the resource (http://php.net/get_resource_type)
- ReflectionString::getString() — Method in class ReflectionString
- Returns the current value of the string
- ReflectionString::getLength() — Method in class ReflectionString
- Returns the length of the string
H
- ReflectionTrace::hasObject() — Method in class ReflectionTrace
- Tests if an object is defined
- ReflectionArray::hasKey() — Method in class ReflectionArray
- Test if a key exists in the array
I
- ReflectionCallback::invoke() — Method in class ReflectionCallback
- Invokes the callback with a list of parameters
- ReflectionCallback::invokeArgs() — Method in class ReflectionCallback
- Invokes the callback with a list of parameters as an array
- ReflectionCallback::isFunction() — Method in class ReflectionCallback
- Tests if the callback is a function
- ReflectionCallback::isClosure() — Method in class ReflectionCallback
- Tests if the callback is a closure
- ReflectionCallback::isMethod() — Method in class ReflectionCallback
- Tests if the callback is a class' method
- ReflectionCallback::isMethodStatic() — Method in class ReflectionCallback
- Tests if the callback is a static class' method
- ReflectionCallback::isObject() — Method in class ReflectionCallback
- Tests if the callback is a static class' method
- ReflectionValue::isNull() — Method in class ReflectionValue
- Tests if the variable is NULL
- ReflectionValue::isBoolean() — Method in class ReflectionValue
- Tests if the variable is a boolean
- ReflectionValue::isInteger() — Method in class ReflectionValue
- Tests if the variable is an integer
- ReflectionValue::isFloat() — Method in class ReflectionValue
- Tests if the variable is a float
- ReflectionValue::isString() — Method in class ReflectionValue
- Tests if the variable is a string
- ReflectionValue::isArray() — Method in class ReflectionValue
- Tests if the variable is an array
- ReflectionValue::isObject() — Method in class ReflectionValue
- Tests if the variable is an object
- ReflectionValue::isResource() — Method in class ReflectionValue
- Tests if the variable is a resource
- ReflectionValue::isCallback() — Method in class ReflectionValue
- Tests if the variable is a callback
- ValueType::isNull() — Method in class ValueType
- Tests if a value is null
- ValueType::isBoolean() — Method in class ValueType
- Tests if a value is a boolean
- ValueType::isInteger() — Method in class ValueType
- Tests if a value is an integer
- ValueType::isFloat() — Method in class ValueType
- Tests if a value is a float
- ValueType::isDouble() — Method in class ValueType
- Tests if a value is a double (alias of
self::isFloat()
) - ValueType::isRealNumber() — Method in class ValueType
- Tests if a value is a "real number" (alias of
self::isFloat()
) - ValueType::isString() — Method in class ValueType
- Tests if a value is a string
- ValueType::isArray() — Method in class ValueType
- Tests if a value is an array
- ValueType::isObject() — Method in class ValueType
- Tests if a value is an object
- ValueType::isClosure() — Method in class ValueType
- Tests if a value is a closure (alias of
self::isCallback()
) - ValueType::isCallable() — Method in class ValueType
- Tests if a value is callable (alias of
self::isCallback()
) - ValueType::isCallback() — Method in class ValueType
- Tests if a value is a valid callback
- ValueType::isResource() — Method in class ValueType
- Tests if a value is a resource
- ReflectionCallback::invoke() — Method in class ReflectionCallback
- Invokes the callback with a list of parameters
- ReflectionCallback::invokeArgs() — Method in class ReflectionCallback
- Invokes the callback with a list of parameters as an array
N
- $ ReflectionTrace — Property in class ReflectionTrace
O
R
- ReadOnlyPropertiesTrait — Class in namespace Reflectors
- This trait defines magic getters and setters for read-only object's properties
- ReflectionBacktrace — Class in namespace Reflectors
- The backtrace reflector
- ReflectionCallback — Class in namespace Reflectors
- The callback global reflector
- ReflectionParameterValue — Class in namespace Reflectors
- An extension of the internal
\ReflectionParameter
with a value - ReflectionSource — Class in namespace Reflectors
- The source reflector
- ReflectionSource::render() — Method in class ReflectionSource
- Renders the source as plain text
- ReflectionSource::renderHighlight() — Method in class ReflectionSource
- Renders the source highlighted in HTML
- ReflectionTrace — Class in namespace Reflectors
- This is the backtrace item reflector
- ReflectionValue — Class in namespace Reflectors
- This is the global variable value reflector object. It acts like a reflection proxy.
- ReflectionValueInterface — Class in namespace Reflectors
- This interface is designed to build generic objects reflecting a variable with its value and type.
- ReflectorTrait — Class in namespace Reflectors
- Basic implementation of the
\Reflector::export()
method - ReflectionArray — Class in namespace Reflectors\Value
- The array value reflector
- ReflectionBoolean — Class in namespace Reflectors\Value
- The boolean value reflector
- ReflectionCallback — Class in namespace Reflectors\Value
- The callback value reflector
- ReflectionFloat — Class in namespace Reflectors\Value
- The float value reflector
- ReflectionInteger — Class in namespace Reflectors\Value
- The integer value reflector
- ReflectionNull — Class in namespace Reflectors\Value
- The NULL value reflector
- ReflectionObject — Class in namespace Reflectors\Value
- The object value reflector
- ReflectionResource — Class in namespace Reflectors\Value
- The resource value reflector
- ReflectionString — Class in namespace Reflectors\Value
- The string value reflector
- ReflectionUnknown — Class in namespace Reflectors\Value
- The "unknown" typed value reflector
S
- ReadOnlyPropertiesTrait::setReadOnlyProperties() — Method in class ReadOnlyPropertiesTrait
- Defines the read-only properties names and accessors.
V
- ValueType — Class in namespace Reflectors
- This only defines possible value types as constants and validators static methods.
_
- AbstractReflectionValue::__construct() — Method in class AbstractReflectionValue
- Extending classes may define their own constructor and call this one first
- AbstractReflectionValue::__toString() — Method in class AbstractReflectionValue
- Extending classes must define their own representation
- AbstractReflectionValueProxy::__construct() — Method in class AbstractReflectionValueProxy
- Constructor. You MUST call this one to prepare proxy.
- AbstractReflectionValueProxy::__call() — Method in class AbstractReflectionValueProxy
- This will transmit a method's call to the proxy if it exists
- ReadOnlyPropertiesTrait::__get() — Method in class ReadOnlyPropertiesTrait
- Magic getter for read-only properties.
- ReadOnlyPropertiesTrait::__set() — Method in class ReadOnlyPropertiesTrait
- Magic setter to avoid setting read-only properties.
- ReadOnlyPropertiesTrait::__unset() — Method in class ReadOnlyPropertiesTrait
- Magic un-setter to avoid un-setting read-only properties.
- ReflectionBacktrace::__construct() — Method in class ReflectionBacktrace
- Construct a backtrace reflection
- ReflectionBacktrace::__toString() — Method in class ReflectionBacktrace
- Representation of the object
- ReflectionCallback::__construct() — Method in class ReflectionCallback
- ReflectionCallback::__toString() — Method in class ReflectionCallback
- Representation of the object
- ReflectionParameterValue::__construct() — Method in class ReflectionParameterValue
- ReflectionParameterValue::__toString() — Method in class ReflectionParameterValue
- Representation of the object
- ReflectionSource::__construct() — Method in class ReflectionSource
- ReflectionSource::__toString() — Method in class ReflectionSource
- Representation of the object
- ReflectionTrace::__construct() — Method in class ReflectionTrace
- ReflectionTrace::__toString() — Method in class ReflectionTrace
- Representation of the object
- ReflectionValue::__construct() — Method in class ReflectionValue
- ReflectionValue::__toString() — Method in class ReflectionValue
- Representation of the object
- ReflectionArray::__construct() — Method in class ReflectionArray
- ReflectionArray::__toString() — Method in class ReflectionArray
- Representation of the object
- ReflectionBoolean::__construct() — Method in class ReflectionBoolean
- Use the
ValueType::BINARY_AS_BOOLEAN
flag to allow binaries0
and1
as boolean values - ReflectionBoolean::__toString() — Method in class ReflectionBoolean
- Representation of the object
- ReflectionCallback::__construct() — Method in class ReflectionCallback
- ReflectionCallback::__toString() — Method in class ReflectionCallback
- Representation of the object
- ReflectionFloat::__construct() — Method in class ReflectionFloat
- ReflectionFloat::__toString() — Method in class ReflectionFloat
- Representation of the object
- ReflectionInteger::__construct() — Method in class ReflectionInteger
- Use the
ValueType::NUMERIC_AS_INTEGER
flag to allow any numeric value - ReflectionInteger::__toString() — Method in class ReflectionInteger
- Representation of the object
- ReflectionNull::__construct() — Method in class ReflectionNull
- ReflectionNull::__toString() — Method in class ReflectionNull
- Representation of the object
- ReflectionObject::__construct() — Method in class ReflectionObject
- ReflectionObject::__toString() — Method in class ReflectionObject
- Representation of the object
- ReflectionResource::__construct() — Method in class ReflectionResource
- ReflectionResource::__toString() — Method in class ReflectionResource
- Representation of the object
- ReflectionString::__construct() — Method in class ReflectionString
- Use the
ValueType::NUMERIC_AS_STRING
flag to allow numeric values as strings - ReflectionString::__toString() — Method in class ReflectionString
- Representation of the object
- ReflectionUnknown::__construct() — Method in class ReflectionUnknown
- ReflectionUnknown::__toString() — Method in class ReflectionUnknown
- Representation of the object