Documentation

PhpDocAwareReflectionTypeResolver
in package
implements TypeResolverInterface

FinalYes

Resolves type on reflection prioriziting PHP documentation.

Tags
author

Mathias Arlaud mathias.arlaud@gmail.com

Table of Contents

Interfaces

TypeResolverInterface
Resolves type for a given subject.

Properties

$lexer  : Lexer
$phpDocParser  : PhpDocParser
$reflectionTypeResolver  : TypeResolverInterface
$stringTypeResolver  : TypeResolverInterface
$typeContextFactory  : TypeContextFactory

Methods

__construct()  : mixed
resolve()  : Type
Try to resolve a {@see Type} on a $subject.

Properties

Methods

__construct()

public __construct(TypeResolverInterface $reflectionTypeResolver, TypeResolverInterface $stringTypeResolver, TypeContextFactory $typeContextFactory[, PhpDocParser|null $phpDocParser = null ][, Lexer|null $lexer = null ]) : mixed
Parameters
$reflectionTypeResolver : TypeResolverInterface
$stringTypeResolver : TypeResolverInterface
$typeContextFactory : TypeContextFactory
$phpDocParser : PhpDocParser|null = null
$lexer : Lexer|null = null

        
On this page

Search results