Arikaim CMS

Preloader
in package

Opcache preloader

Table of Contents

Properties

$verbose  : bool
Show output

Methods

__construct()  : mixed
Constructor
getCachedFiles()  : array<string|int, mixed>
Get preloaded files
load()  : object
Load file or path
loadPath()  : void
Load all php files in path (recursive)
message()  : void
Show message

Properties

Methods

__construct()

Constructor

public __construct([array<string|int, mixed> $files = [] ][, bool $verbose = false ]) : mixed
Parameters
$files : array<string|int, mixed> = []
$verbose : bool = false

getCachedFiles()

Get preloaded files

public static getCachedFiles() : array<string|int, mixed>
Return values
array<string|int, mixed>

load()

Load file or path

public load(string $file) : object
Parameters
$file : string
Return values
object

loadPath()

Load all php files in path (recursive)

public loadPath(string $path) : void
Parameters
$path : string

message()

Show message

protected message(string $message) : void
Parameters
$message : string

        
On this page

Search results