Pinq\Parsing\FunctionReflection::__construct PHP Method

__construct() public method

public __construct ( callable $callable, ReflectionFunctionAbstract $innerReflection, Pinq\Parsing\IFunctionSignature $signature, Pinq\Parsing\IFunctionLocation $location, Pinq\Parsing\IFunctionScope $scope )
$callable callable
$innerReflection ReflectionFunctionAbstract
$signature Pinq\Parsing\IFunctionSignature
$location Pinq\Parsing\IFunctionLocation
$scope Pinq\Parsing\IFunctionScope
    public function __construct(callable $callable, \ReflectionFunctionAbstract $innerReflection, IFunctionSignature $signature, IFunctionLocation $location, IFunctionScope $scope)
    {
        parent::__construct($signature, $location);
        $this->callable = $callable;
        $this->innerReflection = $innerReflection;
        $this->scope = $scope;
        //Hashes the signature and location along with the scoped class type due to the
        //resolution of scoped class constants (self::, static::, parent::).
        //These should be fully qualified in the expression tree hence requiring
        //a different hash.
        $this->globalHash = md5(implode('!', [$this->scope->getThisType(), $this->locationAndSignatureHash]));
    }