src/Dev/Debug.php
public static function caller()
    {
        $bt = debug_backtrace();
        $caller = isset($bt[2]) ? $bt[2] : array();
        $caller['line'] = $bt[1]['line'];
        $caller['file'] = $bt[1]['file'];
        if (!isset($caller['class'])) {
            $caller['class'] = '';
        }
        if (!isset($caller['type'])) {
            $caller['type'] = '';
        }
        if (!isset($caller['function'])) {
            $caller['function'] = '';
        }
        return $caller;
    }
public static function caller()
    {
        $bt = debug_backtrace();
        $caller = isset($bt[2]) ? $bt[2] : array();
        $caller['line'] = $bt[1]['line'];
        $caller['file'] = $bt[1]['file'];
        if (!isset($caller['class'])) {
            $caller['class'] = '';
        }
        if (!isset($caller['type'])) {
            $caller['type'] = '';
        }
        if (!isset($caller['function'])) {
            $caller['function'] = '';
        }
        return $caller;
    }
public static function caller ( ) { $ bt = debug_backtrace ( ) ; $ caller = isset ( $ bt [ 2 ] ) ? $ bt [ 2 ] : array ( ) ; $ caller [ 'line' ] = $ bt [ 1 ] [ 'line' ] ; $ caller [ 'file' ] = $ bt [ 1 ] [ 'file' ] ; if ( ! isset ( $ caller [ 'class' ] ) ) { $ caller [ 'class' ] = '' ; } if ( ! isset ( $ caller [ 'type' ] ) ) { $ caller [ 'type' ] = '' ; } if ( ! isset ( $ caller [ 'function' ] ) ) { $ caller [ 'function' ] = '' ; } return $ caller ; }
Returns the caller for a specific method

@return array
Returns the caller for a specific method