Pinq\Parsing\PhpParser\Visitors\FunctionLocatorVisitor::getClosureNodeSignature PHP Метод

getClosureNodeSignature() приватный Метод

private getClosureNodeSignature ( Closure $node )
$node PhpParser\Node\Expr\Closure
    private function getClosureNodeSignature(Node\Expr\Closure $node)
    {
        $scopedVariableNames = [];
        foreach ($node->uses as $use) {
            $scopedVariableNames[] = $use->var;
        }
        return FunctionSignature::closure($node->byRef, $this->getParameterExpressions($node->params), $scopedVariableNames);
    }