protected function getCacheDir($user, $imageIdentifier) {
        $userPath = str_pad($user, 3, '0', STR_PAD_LEFT);
        return sprintf(
            '%s/%s/%s/%s/%s/%s/%s/%s/%s',
            $this->getPath(),
            $userPath[0],
            $userPath[1],
            $userPath[2],
            $user,
            $imageIdentifier[0],
            $imageIdentifier[1],
            $imageIdentifier[2],
            $imageIdentifier
        );
    }
protected function getCacheDir($user, $imageIdentifier) {
        $userPath = str_pad($user, 3, '0', STR_PAD_LEFT);
        return sprintf(
            '%s/%s/%s/%s/%s/%s/%s/%s/%s',
            $this->getPath(),
            $userPath[0],
            $userPath[1],
            $userPath[2],
            $user,
            $imageIdentifier[0],
            $imageIdentifier[1],
            $imageIdentifier[2],
            $imageIdentifier
        );
    }
protected function getCacheDir ( $ user , $ imageIdentifier ) { $ userPath = str_pad ( $ user , 3 , '0' , STR_PAD_LEFT ) ; return sprintf ( '%s/%s/%s/%s/%s/%s/%s/%s/%s' , $ this -> getPath ( ) , $ userPath [ 0 ] , $ userPath [ 1 ] , $ userPath [ 2 ] , $ user , $ imageIdentifier [ 0 ] , $ imageIdentifier [ 1 ] , $ imageIdentifier [ 2 ] , $ imageIdentifier ) ; }
Get the path to the current image cache dir

@param string $user The user which the image belongs to
@param string $imageIdentifier The image identifier
@return string Returns the absolute path to the image cache dir
Get the path to the current image cache dir