Skip to content

RouteFileCache


  • Full name: \Qubus\Routing\Route\RouteFileCache
  • This class is marked as final and can't be subclassed
  • This class is a Final class

Properties

path

private string $path

Methods

__construct

public __construct(string $path): mixed

Parameters:

Parameter Type Description
$path string

get

public get(callable $loader): array

Parameters:

Parameter Type Description
$loader callable

writeCache

private writeCache(array $data): void

Parameters:

Parameter Type Description
$data array

clear

public clear(): void

path

public path(): string