Свойство | Тип | Описание | |
---|---|---|---|
$alias | array | string | Alias for driver name. | |
$name | string | The driver name. | |
$options | array | Options per property. | |
$porter | Papi_Porter | Papi Porter instance. |
Метод | Описание | |
---|---|---|
__construct ( ) | The constructor. | |
bootstrap ( ) | Bootstrap the driver. | |
filter ( string $type, string $filter ) : string | Get filter key. | |
get_driver_name ( ) : string | Get the driver name. | |
get_options ( ) : array | Get options. | |
get_value ( array $options ) : mixed | Get the import value for a property. | |
set_options ( array $options = [] ) | Set options for properties. | |
set_porter ( Papi_Porter $porter ) | Set Porter instance. |
Метод | Описание | |
---|---|---|
call_value ( mixed $value ) : mixed | Call closure value if any. | |
set_driver_alias ( ) | Set driver alias. | |
set_driver_name ( string $name ) | Set driver name. | |
should_update_array ( string $slug ) : boolean | Determine if a property should update existing array or not. | |
with ( mixed $obj ) : mixed | Return the given object. Useful for chaining. |
protected call_value ( mixed $value ) : mixed | ||
$value | mixed | |
Результат | mixed |
public get_driver_name ( ) : string | ||
Результат | string |
protected set_driver_name ( string $name ) | ||
$name | string |
public set_options ( array $options = [] ) | ||
$options | array |
public set_porter ( Papi_Porter $porter ) | ||
$porter | Papi_Porter |
protected should_update_array ( string $slug ) : boolean | ||
$slug | string | |
Результат | boolean |