MIDDAG for Moodle

version_support extends facade

Facade for local_middag\framework\support\moodle\version_support.

Tags
see
version_support
mixin

Table of Contents

Methods

assert_min()  : void
at_least()  : bool
between()  : bool
branch()  : int
build()  : int
compare()  : bool
get_facade_accessor()  : string
Return the service accessor key for this facade.
major_minor()  : array<string|int, mixed>
supports()  : bool
version_semver()  : string

Methods

assert_min()

public static assert_min(string $min[, string|null $msg = = 'null' ]) : void
Parameters
$min : string
$msg : string|null = = 'null'

at_least()

public static at_least(string $min) : bool
Parameters
$min : string
Return values
bool

between()

public static between(string $min, string $max) : bool
Parameters
$min : string
$max : string
Return values
bool

compare()

public static compare(string $operator, string $constraint) : bool
Parameters
$operator : string
$constraint : string
Return values
bool

get_facade_accessor()

Return the service accessor key for this facade.

public static get_facade_accessor() : string
Return values
string

major_minor()

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

supports()

public static supports(string $feature, array<string|int, mixed> $matrix) : bool
Parameters
$feature : string
$matrix : array<string|int, mixed>
Return values
bool

version_semver()

public static version_semver() : string
Return values
string

        
On this page

Search results