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

@param  string  $class The fully-namespaced class name to check.
@return boolean
The JIT patchable checker .