src/Reflection/ReflectionFile.php
private function registerInvocation(
        int $invocationID,
        int $argumentsID,
        int $endID,
        array $arguments,
        int $invocationLevel
    ) {
        //Nested invocations
        $this->locateInvocations($arguments, $invocationLevel + 1);

        list($class, $operator, $name) = $this->fetchContext($invocationID, $argumentsID);

        if (!empty($operator) && empty($class)) {
            //Non detectable
            return;
        }

        $this->invocations[] = new ReflectionInvocation(
            $this->filename,
            $this->lineNumber($invocationID),
            $class,
            $operator,
            $name,
            ReflectionArgument::locateArguments($arguments),
            $this->getSource($invocationID, $endID),
            $invocationLevel
        );
    }
private function registerInvocation(
        int $invocationID,
        int $argumentsID,
        int $endID,
        array $arguments,
        int $invocationLevel
    ) {
        //Nested invocations
        $this->locateInvocations($arguments, $invocationLevel + 1);

        list($class, $operator, $name) = $this->fetchContext($invocationID, $argumentsID);

        if (!empty($operator) && empty($class)) {
            //Non detectable
            return;
        }

        $this->invocations[] = new ReflectionInvocation(
            $this->filename,
            $this->lineNumber($invocationID),
            $class,
            $operator,
            $name,
            ReflectionArgument::locateArguments($arguments),
            $this->getSource($invocationID, $endID),
            $invocationLevel
        );
    }
private function registerInvocation ( int $ invocationID , int $ argumentsID , int $ endID , array $ arguments , int $ invocationLevel ) { //Nested invocations $ this -> locateInvocations ( $ arguments , $ invocationLevel + 1 ) ; list ( $ class , $ operator , $ name ) = $ this -> fetchContext ( $ invocationID , $ argumentsID ) ; if ( ! empty ( $ operator ) && empty ( $ class ) ) { //Non detectable return ; } $ this -> invocations [ ] = new ReflectionInvocation ( $ this -> filename , $ this -> lineNumber ( $ invocationID ) , $ class , $ operator , $ name , ReflectionArgument :: locateArguments ( $ arguments ) , $ this -> getSource ( $ invocationID , $ endID ) , $ invocationLevel ) ; }
Registering invocation.

@param int   $invocationID
@param int   $argumentsID
@param int   $endID
@param array $arguments
@param int   $invocationLevel
Registering invocation .