public function getAllFunctions() : array
    {
        /** @var ReflectionFunction[] $allFunctions */
        $allFunctions = $this->sourceLocator->locateIdentifiersByType(
            $this,
            new IdentifierType(IdentifierType::IDENTIFIER_FUNCTION)
        );

        return $allFunctions;
    }
public function getAllFunctions() : array
    {
        /** @var ReflectionFunction[] $allFunctions */
        $allFunctions = $this->sourceLocator->locateIdentifiersByType(
            $this,
            new IdentifierType(IdentifierType::IDENTIFIER_FUNCTION)
        );

        return $allFunctions;
    }
public function getAllFunctions ( ) : array { /** @var ReflectionFunction[] $allFunctions */ $ allFunctions = $ this -> sourceLocator -> locateIdentifiersByType ( $ this , new IdentifierType ( IdentifierType :: IDENTIFIER_FUNCTION ) ) ; return $ allFunctions ; }
Get all the functions available in the scope specified by the SourceLocator.

@return ReflectionFunction[]
Get all the functions available in the scope specified by the SourceLocator .