class DependencyChecker

Cache dependencies checker.

Traits

Strict class for better experience.

Constants

VERSION

Methods

add(array $deps)

Adds dependencies to the list.

array
export()

Exports dependencies.

static bool
isExpired(int $version, array $files, array $phpFiles, array $classes, array $functions, string $hash)

Are dependencies expired?

Details

at line 35
DependencyChecker add(array $deps)

Adds dependencies to the list.

Parameters

array $deps

Return Value

DependencyChecker

at line 45
array export()

Exports dependencies.

Return Value

array

at line 83
static bool isExpired(int $version, array $files, array $phpFiles, array $classes, array $functions, string $hash)

Are dependencies expired?

Parameters

int $version
array $files
array $phpFiles
array $classes
array $functions
string $hash

Return Value

bool