PHP Class PhpSpec\CodeAnalysis\StaticRejectingNamespaceResolver

Inheritance: implements PhpSpec\CodeAnalysis\NamespaceResolver
显示文件 Open project: phpspec/phpspec

Public Methods

Method Description
__construct ( PhpSpec\CodeAnalysis\NamespaceResolver $namespaceResolver )
analyse ( $code )
resolve ( $typeAlias )

Private Methods

Method Description
guardNonObjectTypeHints ( $typeAlias )

Method Details

__construct() public method

public __construct ( PhpSpec\CodeAnalysis\NamespaceResolver $namespaceResolver )
$namespaceResolver PhpSpec\CodeAnalysis\NamespaceResolver

analyse() public method

public analyse ( $code )

resolve() public method

public resolve ( $typeAlias )