src/Context.php
public function getDebugLocation()
    {
        $location = '';
        if ($this->class && ($this->method || $this->property)) {
            $location .= $this->fullyQualifiedName($this->class);
            if ($this->method) {
                $location .= ($this->static ? '::' : '->') . $this->method . '()';
            } elseif ($this->property) {
                $location .= ($this->static ? '::$' : '->') . $this->property;
            }
        }
        if ($this->filename) {
            if ($location !== '') {
                $location .= ' in ';
            }
            $location .= $this->filename;
        }
        if ($this->line) {
            if ($location !== '') {
                $location .= ' on';
            }
            $location .= ' line ' . $this->line;
            if ($this->character) {
                $location .= ':' . $this->character;
            }
        }

        return $location;
    }
public function getDebugLocation()
    {
        $location = '';
        if ($this->class && ($this->method || $this->property)) {
            $location .= $this->fullyQualifiedName($this->class);
            if ($this->method) {
                $location .= ($this->static ? '::' : '->') . $this->method . '()';
            } elseif ($this->property) {
                $location .= ($this->static ? '::$' : '->') . $this->property;
            }
        }
        if ($this->filename) {
            if ($location !== '') {
                $location .= ' in ';
            }
            $location .= $this->filename;
        }
        if ($this->line) {
            if ($location !== '') {
                $location .= ' on';
            }
            $location .= ' line ' . $this->line;
            if ($this->character) {
                $location .= ':' . $this->character;
            }
        }

        return $location;
    }
public function getDebugLocation ( ) { $ location = '' ; if ( $ this -> class && ( $ this -> method || $ this -> property ) ) { $ location .= $ this -> fullyQualifiedName ( $ this -> class ) ; if ( $ this -> method ) { $ location .= ( $ this -> static ? '::' : '->' ) . $ this -> method . '()' ; } elseif ( $ this -> property ) { $ location .= ( $ this -> static ? '::$' : '->' ) . $ this -> property ; } } if ( $ this -> filename ) { if ( $ location !== '' ) { $ location .= ' in ' ; } $ location .= $ this -> filename ; } if ( $ this -> line ) { if ( $ location !== '' ) { $ location .= ' on' ; } $ location .= ' line ' . $ this -> line ; if ( $ this -> character ) { $ location .= ':' . $ this -> character ; } } return $ location ; }
Export location for debugging.

@return string Example: "file1.php on line 12"
Export location for debugging .