Свойство | Тип | Описание | |
---|---|---|---|
$locations | array | Closur\Closure | Environment locations. |
Метод | Описание | |
---|---|---|
__construct ( array | Closur\Closure $locations ) | Init the Environment class. | |
which ( string $hostname = '' ) : string | Find in which environment we are. |
Метод | Описание | |
---|---|---|
match ( string $host, string $hostname ) : boolean | Check if a host is matching a pattern. |
public __construct ( array | Closur\Closure $locations ) | ||
$locations | array | Closur\Closure | Environment locations - Detection. |
protected array|Closure,Closur $locations | ||
Результат | array | Closur\Closure |