ApiGen\Generator\Resolvers\ElementResolver::getFunction PHP Метод

getFunction() публичный Метод

public getFunction ( $name, $namespace = '' )
    public function getFunction($name, $namespace = '')
    {
        $parsedFunctions = $this->parserStorage->getFunctions();
        $function = $this->findElementByNameAndNamespace($parsedFunctions, $name, $namespace);
        if ($function && $function->isDocumented()) {
            return $function;
        }
        return null;
    }