--TEST-- ReflectionClass::__toString() --CREDITS-- Robin Fernandes Steve Seear --FILE-- --EXPECT-- Class [ class ReflectionClass implements Stringable, Reflector ] { - Constants [4] { Constant [ public int IS_IMPLICIT_ABSTRACT ] { 16 } Constant [ public int IS_EXPLICIT_ABSTRACT ] { 64 } Constant [ public int IS_FINAL ] { 32 } Constant [ public int IS_READONLY ] { 65536 } } - Static properties [0] { } - Static methods [0] { } - Properties [1] { Property [ public string $name ] } - Methods [56] { Method [ private method __clone ] { - Parameters [0] { } - Return [ void ] } Method [ public method __construct ] { - Parameters [1] { Parameter #0 [ object|string $objectOrClass ] } } Method [ public method __toString ] { - Parameters [0] { } - Return [ string ] } Method [ public method getName ] { - Parameters [0] { } - Tentative return [ string ] } Method [ public method isInternal ] { - Parameters [0] { } - Tentative return [ bool ] } Method [ public method isUserDefined ] { - Parameters [0] { } - Tentative return [ bool ] } Method [ public method isAnonymous ] { - Parameters [0] { } - Tentative return [ bool ] } Method [ public method isInstantiable ] { - Parameters [0] { } - Tentative return [ bool ] } Method [ public method isCloneable ] { - Parameters [0] { } - Tentative return [ bool ] } Method [ public method getFileName ] { - Parameters [0] { } - Tentative return [ string|false ] } Method [ public method getStartLine ] { - Parameters [0] { } - Tentative return [ int|false ] } Method [ public method getEndLine ] { - Parameters [0] { } - Tentative return [ int|false ] } Method [ public method getDocComment ] { - Parameters [0] { } - Tentative return [ string|false ] } Method [ public method getConstructor ] { - Parameters [0] { } - Tentative return [ ?ReflectionMethod ] } Method [ public method hasMethod ] { - Parameters [1] { Parameter #0 [ string $name ] } - Tentative return [ bool ] } Method [ public method getMethod ] { - Parameters [1] { Parameter #0 [ string $name ] } - Tentative return [ ReflectionMethod ] } Method [ public method getMethods ] { - Parameters [1] { Parameter #0 [ ?int $filter = null ] } - Tentative return [ array ] } Method [ public method hasProperty ] { - Parameters [1] { Parameter #0 [ string $name ] } - Tentative return [ bool ] } Method [ public method getProperty ] { - Parameters [1] { Parameter #0 [ string $name ] } - Tentative return [ ReflectionProperty ] } Method [ public method getProperties ] { - Parameters [1] { Parameter #0 [ ?int $filter = null ] } - Tentative return [ array ] } Method [ public method hasConstant ] { - Parameters [1] { Parameter #0 [ string $name ] } - Tentative return [ bool ] } Method [ public method getConstants ] { - Parameters [1] { Parameter #0 [ ?int $filter = null ] } - Tentative return [ array ] } Method [ public method getReflectionConstants ] { - Parameters [1] { Parameter #0 [ ?int $filter = null ] } - Tentative return [ array ] } Method [ public method getConstant ] { - Parameters [1] { Parameter #0 [ string $name ] } - Tentative return [ mixed ] } Method [ public method getReflectionConstant ] { - Parameters [1] { Parameter #0 [ string $name ] } - Tentative return [ ReflectionClassConstant|false ] } Method [ public method getInterfaces ] { - Parameters [0] { } - Tentative return [ array ] } Method [ public method getInterfaceNames ] { - Parameters [0] { } - Tentative return [ array ] } Method [ public method isInterface ] { - Parameters [0] { } - Tentative return [ bool ] } Method [ public method getTraits ] { - Parameters [0] { } - Tentative return [ array ] } Method [ public method getTraitNames ] { - Parameters [0] { } - Tentative return [ array ] } Method [ public method getTraitAliases ] { - Parameters [0] { } - Tentative return [ array ] } Method [ public method isTrait ] { - Parameters [0] { } - Tentative return [ bool ] } Method [ public method isEnum ] { - Parameters [0] { } - Return [ bool ] } Method [ public method isAbstract ] { - Parameters [0] { } - Tentative return [ bool ] } Method [ public method isFinal ] { - Parameters [0] { } - Tentative return [ bool ] } Method [ public method isReadOnly ] { - Parameters [0] { } - Return [ bool ] } Method [ public method getModifiers ] { - Parameters [0] { } - Tentative return [ int ] } Method [ public method isInstance ] { - Parameters [1] { Parameter #0 [ object $object ] } - Tentative return [ bool ] } Method [ public method newInstance ] { - Parameters [1] { Parameter #0 [ mixed ...$args ] } - Tentative return [ object ] } Method [ public method newInstanceWithoutConstructor ] { - Parameters [0] { } - Tentative return [ object ] } Method [ public method newInstanceArgs ] { - Parameters [1] { Parameter #0 [ array $args = [] ] } - Tentative return [ ?object ] } Method [ public method getParentClass ] { - Parameters [0] { } - Tentative return [ ReflectionClass|false ] } Method [ public method isSubclassOf ] { - Parameters [1] { Parameter #0 [ ReflectionClass|string $class ] } - Tentative return [ bool ] } Method [ public method getStaticProperties ] { - Parameters [0] { } - Tentative return [ ?array ] } Method [ public method getStaticPropertyValue ] { - Parameters [2] { Parameter #0 [ string $name ] Parameter #1 [ mixed $default = ] } - Tentative return [ mixed ] } Method [ public method setStaticPropertyValue ] { - Parameters [2] { Parameter #0 [ string $name ] Parameter #1 [ mixed $value ] } - Tentative return [ void ] } Method [ public method getDefaultProperties ] { - Parameters [0] { } - Tentative return [ array ] } Method [ public method isIterable ] { - Parameters [0] { } - Tentative return [ bool ] } Method [ public method isIterateable ] { - Parameters [0] { } - Tentative return [ bool ] } Method [ public method implementsInterface ] { - Parameters [1] { Parameter #0 [ ReflectionClass|string $interface ] } - Tentative return [ bool ] } Method [ public method getExtension ] { - Parameters [0] { } - Tentative return [ ?ReflectionExtension ] } Method [ public method getExtensionName ] { - Parameters [0] { } - Tentative return [ string|false ] } Method [ public method inNamespace ] { - Parameters [0] { } - Tentative return [ bool ] } Method [ public method getNamespaceName ] { - Parameters [0] { } - Tentative return [ string ] } Method [ public method getShortName ] { - Parameters [0] { } - Tentative return [ string ] } Method [ public method getAttributes ] { - Parameters [2] { Parameter #0 [ ?string $name = null ] Parameter #1 [ int $flags = 0 ] } - Return [ array ] } } }