Component
extends Rule
in package
Prüft ob eine Alvine Komponente verfügbar ist.
Tags
Table of Contents
Properties
- $namespace : string
- $version : string
- Version
Methods
- __construct() : mixed
- check() : void
- Prüffunktion
Properties
$namespace
protected
string
$namespace
= null
Name des Moduls
$version
Version
protected
string
$version
= null
Methods
__construct()
public
__construct(string $namespace[, string $version = null ]) : mixed
Parameters
- $namespace : string
-
Namespace der Komponente
- $version : string = null
-
Gewünschte Version
check()
Prüffunktion
public
check() : void
Prüffunktion, ob die Abhängigkeit erfüllt ist.