UnknownTypeDescriptor

Implements \phpDocumentor\Descriptor\Interfaces\TypeInterface

This class represents any Type that could not be identified.

Sometimes DocBlocks refer to types, such as classes, that are outside the generated project's scope; in these cases we want to identify them as such with an unknown type descriptor.

package

Default

Methods

Creates an unknown type with the given name.

__construct(string $name) 

Arguments

$name

string

Returns a human-readable name for this type.

__toString() : string

Response

string

Returns the name for this identifier.

getName() : string

Response

string

Properties

Name/Identifier of the unknown type

name : string
var

Name/Identifier of the unknown type

Type(s)

string