public function findFile($class)
    {
        if (xcache_isset($this->prefix.$class)) {
            $file = xcache_get($this->prefix.$class);
        } else {
            $file = $this->decorated->findFile($class) ?: null;
            xcache_set($this->prefix.$class, $file);
        }

        return $file;
    }
public function findFile($class)
    {
        if (xcache_isset($this->prefix.$class)) {
            $file = xcache_get($this->prefix.$class);
        } else {
            $file = $this->decorated->findFile($class) ?: null;
            xcache_set($this->prefix.$class, $file);
        }

        return $file;
    }
public function findFile ( $ class ) { if ( xcache_isset ( $ this -> prefix . $ class ) ) { $ file = xcache_get ( $ this -> prefix . $ class ) ; } else { $ file = $ this -> decorated -> findFile ( $ class ) ? : null ; xcache_set ( $ this -> prefix . $ class , $ file ) ; } return $ file ; }
Finds a file by class name while caching lookups to Xcache.

@param string $class A class name to resolve to file

@return string|null
Finds a file by class name while caching lookups to Xcache .