CacheTool\Command\OpcacheInvalidateScriptsCommand::processFilename PHP Method

processFilename() protected method

protected processFilename ( $filename )
    protected function processFilename($filename)
    {
        $dir = getcwd();
        if (0 === strpos($filename, $dir)) {
            return "." . substr($filename, strlen($dir));
        }
        return $filename;
    }