W3cubDocs

/Symfony 4.1

PhpDocTypeHelper

class PhpDocTypeHelper

Transforms a php doc type to a {@link Type} instance.

Methods

array getTypes(Type $varType)

Creates a {see Type} from a PHPDoc type.

Details

array getTypes(Type $varType)

Creates a {see Type} from a PHPDoc type.

Parameters

Type $varType

Return Value

array

© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Component/PropertyInfo/Util/PhpDocTypeHelper.html