Overview

Namespaces

  • TokenReflection
    • Broker
      • Backend
    • Dummy
    • Exception
    • Invalid
    • Php
    • Stream

Classes

  • Broker
  • ReflectionAnnotation
  • ReflectionBase
  • ReflectionClass
  • ReflectionConstant
  • ReflectionElement
  • ReflectionFile
  • ReflectionFileNamespace
  • ReflectionFunction
  • ReflectionFunctionBase
  • ReflectionMethod
  • ReflectionNamespace
  • ReflectionParameter
  • ReflectionProperty
  • Resolver

Interfaces

  • IReflection
  • IReflectionClass
  • IReflectionConstant
  • IReflectionExtension
  • IReflectionFunction
  • IReflectionFunctionBase
  • IReflectionMethod
  • IReflectionNamespace
  • IReflectionParameter
  • IReflectionProperty
  • Overview
  • Namespace
  • Class
  • Tree
  • Download

Interface IReflectionParameter

Common reflection parameter interface.

TokenReflection\IReflectionParameter implements TokenReflection\IReflection

Direct known implementers

TokenReflection\Php\ReflectionParameter, TokenReflection\ReflectionParameter
Namespace: TokenReflection
Located at IReflectionParameter.php
Methods summary
public TokenReflection\IReflectionClass|null
# getDeclaringClass( )

Returns the declaring class.

Returns the declaring class.

Returns

TokenReflection\IReflectionClass|null
public string|null
# getDeclaringClassName( )

Returns the declaring class name.

Returns the declaring class name.

Returns

string|null
public TokenReflection\IReflectionFunctionBase
# getDeclaringFunction( )

Returns the declaring function.

Returns the declaring function.

Returns

TokenReflection\IReflectionFunctionBase
public string
# getDeclaringFunctionName( )

Returns the declaring function name.

Returns the declaring function name.

Returns

string
public integer
# getStartLine( )

Returns the definition start line number in the file.

Returns the definition start line number in the file.

Returns

integer
public integer
# getEndLine( )

Returns the definition end line number in the file.

Returns the definition end line number in the file.

Returns

integer
public string|boolean
# getDocComment( )

Returns the appropriate docblock definition.

Returns the appropriate docblock definition.

Returns

string|boolean
public mixed
# getDefaultValue( )

Returns the default value.

Returns the default value.

Returns

mixed
public string
# getDefaultValueDefinition( )

Returns the part of the source code defining the paramter default value.

Returns the part of the source code defining the paramter default value.

Returns

string
public boolean
# isDefaultValueAvailable( )

Retutns if a default value for the parameter is available.

Retutns if a default value for the parameter is available.

Returns

boolean
public integer
# getPosition( )

Returns the position within all parameters.

Returns the position within all parameters.

Returns

integer
public boolean
# isArray( )

Returns if the parameter expects an array.

Returns if the parameter expects an array.

Returns

boolean
public TokenReflection\IReflectionClass|null
# getClass( )

Returns reflection of the required class of the value.

Returns reflection of the required class of the value.

Returns

TokenReflection\IReflectionClass|null
public string|null
# getClassName( )

Returns the required class name of the value.

Returns the required class name of the value.

Returns

string|null
public boolean
# allowsNull( )

Returns if the the parameter allows NULL.

Returns if the the parameter allows NULL.

Returns

boolean
public boolean
# isOptional( )

Returns if the parameter is optional.

Returns if the parameter is optional.

Returns

boolean
public boolean
# isPassedByReference( )

Returns if the parameter value is passed by reference.

Returns if the parameter value is passed by reference.

Returns

boolean
public boolean
# canBePassedByValue( )

Returns if the paramter value can be passed by value.

Returns if the paramter value can be passed by value.

Returns

boolean
public string
# __toString( )

Returns the string representation of the reflection object.

Returns the string representation of the reflection object.

Returns

string
Methods inherited from TokenReflection\IReflection
__get(), __isset(), getBroker(), getName(), getPrettyName(), isInternal(), isTokenized(), isUserDefined()
PHP Token Reflection API documentation generated by ApiGen 2.8.0