private function prepareStoragePathForClass($className)
    {
        $filePath = $this->buildStoragePath($className);
        if (!file_exists($filePath)) {
            mkdir($filePath, $this->fileModeBits, true);
        }
        return $filePath;
    }