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

__construct() public method

public __construct ( ClassReflection $declaringClass, ClassMethod $classMethod, array $realParameterTypes, array $phpDocParameterTypes, boolean $realReturnTypePresent, PHPStan\Type\Type $realReturnType, PHPStan\Type\Type $phpDocReturnType = null, boolean $isVariadic )
$declaringClass PHPStan\Reflection\ClassReflection
$classMethod PhpParser\Node\Stmt\ClassMethod
$realParameterTypes array
$phpDocParameterTypes array
$realReturnTypePresent boolean
$realReturnType PHPStan\Type\Type
$phpDocReturnType PHPStan\Type\Type
$isVariadic boolean
    public function __construct(ClassReflection $declaringClass, ClassMethod $classMethod, array $realParameterTypes, array $phpDocParameterTypes, bool $realReturnTypePresent, Type $realReturnType, Type $phpDocReturnType = null, bool $isVariadic)
    {
        $this->declaringClass = $declaringClass;
        $this->classMethod = $classMethod;
        $this->realParameterTypes = $realParameterTypes;
        $this->phpDocParameterTypes = $phpDocParameterTypes;
        $this->realReturnTypePresent = $realReturnTypePresent;
        $this->realReturnType = $realReturnType;
        $this->phpDocReturnType = $phpDocReturnType;
        $this->isVariadic = $isVariadic;
    }