프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$connection | Plastic connection instance. | ||
$grammar | Map grammar instance. | ||
$resolver | Closure | Blueprint resolver callback. |
메소드 | 설명 | |
---|---|---|
__construct ( |
Schema constructor. | |
blueprintResolver ( Closure $resolver ) : void | Set the Schema Blueprint resolver callback. | |
create ( string $type, Closure $callback, string $index = null ) | Create a map on your elasticsearch index. |
메소드 | 설명 | |
---|---|---|
build ( |
Execute the blueprint to build. | |
createBlueprint ( string $type, Closure $callback = null, null $index = null ) : mixed | |
Create a new command set with a Closure. |
public __construct ( |
||
$connection |
public blueprintResolver ( Closure $resolver ) : void | ||
$resolver | Closure | |
리턴 | void |
protected build ( |
||
$blueprint |
protected Connection,Sleimanx2\Plastic $connection | ||
리턴 |
protected Grammar,Sleimanx2\Plastic\Map $grammar | ||
리턴 |