PHPStan\Reflection\Php\PhpMethodReflection::__construct PHP Method

__construct() public method

public __construct ( ClassReflection $declaringClass, ReflectionMethod $reflection, PHPStan\Parser\Parser $parser, FunctionCallStatementFinder $functionCallStatementFinder, Cache $cache, array $phpDocParameterTypes, PHPStan\Type\Type $phpDocReturnType = null )
$declaringClass PHPStan\Reflection\ClassReflection
$reflection ReflectionMethod
$parser PHPStan\Parser\Parser
$functionCallStatementFinder PHPStan\Parser\FunctionCallStatementFinder
$cache Nette\Caching\Cache
$phpDocParameterTypes array
$phpDocReturnType PHPStan\Type\Type
    public function __construct(ClassReflection $declaringClass, \ReflectionMethod $reflection, Parser $parser, FunctionCallStatementFinder $functionCallStatementFinder, \Nette\Caching\Cache $cache, array $phpDocParameterTypes, Type $phpDocReturnType = null)
    {
        $this->declaringClass = $declaringClass;
        $this->reflection = $reflection;
        $this->parser = $parser;
        $this->functionCallStatementFinder = $functionCallStatementFinder;
        $this->cache = $cache;
        $this->phpDocParameterTypes = $phpDocParameterTypes;
        $this->phpDocReturnType = $phpDocReturnType;
    }