PHP Class SensioLabs\DeprecationDetector\TypeGuessing\SymbolTable\Resolver\SymfonyResolver

Inheritance: implements SensioLabs\DeprecationDetector\TypeGuessing\SymbolTable\Resolver\ResolverInterface
Afficher le fichier Open project: sensiolabs-de/deprecation-detector Class Usage Examples

Protected Properties

Свойство Type Description
$container SensioLabs\DeprecationDetector\TypeGuessing\Symfony\ContainerReader
$table SensioLabs\DeprecationDetector\TypeGuessing\SymbolTable\SymbolTable

Méthodes publiques

Méthode Description
__construct ( SensioLabs\DeprecationDetector\TypeGuessing\SymbolTable\SymbolTable $table, SensioLabs\DeprecationDetector\TypeGuessing\Symfony\ContainerReader $container )
resolveVariableType ( PhpParser\Node $node )

Méthodes protégées

Méthode Description
getType ( $context, $methodName, PhpParser\Node $node = null ) : string | null
isController ( $type ) : boolean

Method Details

__construct() public méthode

public __construct ( SensioLabs\DeprecationDetector\TypeGuessing\SymbolTable\SymbolTable $table, SensioLabs\DeprecationDetector\TypeGuessing\Symfony\ContainerReader $container )
$table SensioLabs\DeprecationDetector\TypeGuessing\SymbolTable\SymbolTable
$container SensioLabs\DeprecationDetector\TypeGuessing\Symfony\ContainerReader

getType() protected méthode

protected getType ( $context, $methodName, PhpParser\Node $node = null ) : string | null
$context
$methodName
$node PhpParser\Node
Résultat string | null

isController() protected méthode

protected isController ( $type ) : boolean
$type
Résultat boolean

resolveVariableType() public méthode

public resolveVariableType ( PhpParser\Node $node )
$node PhpParser\Node

Property Details

$container protected_oe property

protected ContainerReader,SensioLabs\DeprecationDetector\TypeGuessing\Symfony $container
Résultat SensioLabs\DeprecationDetector\TypeGuessing\Symfony\ContainerReader

$table protected_oe property

protected SymbolTable,SensioLabs\DeprecationDetector\TypeGuessing\SymbolTable $table
Résultat SensioLabs\DeprecationDetector\TypeGuessing\SymbolTable\SymbolTable