protected function getDir($key)
    {
        $dir = sha1($key);
        $dir = substr($dir, 0, 3) . '/'
            . substr($dir, 3, 3) . '/';

        return $dir;
    }
protected function getDir($key)
    {
        $dir = sha1($key);
        $dir = substr($dir, 0, 3) . '/'
            . substr($dir, 3, 3) . '/';

        return $dir;
    }
protected function getDir ( $ key ) { $ dir = sha1 ( $ key ) ; $ dir = substr ( $ dir , 0 , 3 ) . '/' . substr ( $ dir , 3 , 3 ) . '/' ; return $ dir ; }
Calculates the Directory based on a key

@param string $key
@return string
Calculates the Directory based on a key