HTMLPurifier_DefinitionCache_Serializer::generateDirectoryPath PHP Method

generateDirectoryPath() public method

Generates the path to the directory contain this cache's serial files
public generateDirectoryPath ( HTMLPurifier_Config $config ) : string
$config HTMLPurifier_Config
return string
    public function generateDirectoryPath($config)
    {
        $base = $this->generateBaseDirectoryPath($config);
        return $base . '/' . $this->type;
    }