spec/Mock/Patcher.php
public function findFile($loader, $class, $file)
    {
        $args = func_get_args();
        $self = isset($this) ? $this : get_called_class();
        if ($pointcut = Pointcut::before(__METHOD__, $self, $args)) {
            return $pointcut($args, $self);
        }
        return $file;
    }
public function findFile($loader, $class, $file)
    {
        $args = func_get_args();
        $self = isset($this) ? $this : get_called_class();
        if ($pointcut = Pointcut::before(__METHOD__, $self, $args)) {
            return $pointcut($args, $self);
        }
        return $file;
    }
public function findFile ( $ loader , $ class , $ file ) { $ args = func_get_args ( ) ; $ self = isset ( $ this ) ? $ this : get_called_class ( ) ; if ( $ pointcut = Pointcut :: before ( __METHOD__ , $ self , $ args ) ) { return $ pointcut ( $ args , $ self ) ; } return $ file ; }
The JIT find file patcher.

@param  object $loader The autloader instance.
@param  string $class  The fully-namespaced class name.
@param  string $file   The correponding finded file path.
@return string The patched file path.
The JIT find file patcher .