Documentation

Blueprints
in package

Class Blueprints

Table of Contents

Properties

$instances  : array<string|int, mixed>
$search  : array<string|int, mixed>|string
$types  : array<string|int, mixed>

Methods

__construct()  : mixed
get()  : Blueprint
Get blueprint.
types()  : array<string|int, mixed>
Get all available blueprint types.
loadFile()  : Blueprint
Load blueprint file.

Properties

$instances

protected array<string|int, mixed> $instances = []
protected array<string|int, mixed>|string $search

$types

protected array<string|int, mixed> $types

Methods

__construct()

public __construct([string|array<string|int, mixed> $search = 'blueprints://' ]) : mixed
Parameters
$search : string|array<string|int, mixed> = 'blueprints://'

Search path.

get()

Get blueprint.

public get(string $type) : Blueprint
Parameters
$type : string

Blueprint type.

Tags
throws
RuntimeException
Return values
Blueprint

types()

Get all available blueprint types.

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

List of type=>name

loadFile()

Load blueprint file.

protected loadFile(string $name) : Blueprint
Parameters
$name : string

Name of the blueprint.

Return values
Blueprint

        
On this page

Search results