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

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

Protected Properties

Property Type Description
$container SensioLabs\DeprecationDetector\TypeGuessing\Symfony\ContainerReader
$table SensioLabs\DeprecationDetector\TypeGuessing\SymbolTable\SymbolTable

Public Methods

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

Protected Methods

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

Method Details

__construct() public method

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 method

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

isController() protected method

protected isController ( $type ) : boolean
$type
return boolean

resolveVariableType() public method

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

Property Details

$container protected property

protected ContainerReader,SensioLabs\DeprecationDetector\TypeGuessing\Symfony $container
return SensioLabs\DeprecationDetector\TypeGuessing\Symfony\ContainerReader

$table protected property

protected SymbolTable,SensioLabs\DeprecationDetector\TypeGuessing\SymbolTable $table
return SensioLabs\DeprecationDetector\TypeGuessing\SymbolTable\SymbolTable