Property | Type | Description | |
---|---|---|---|
$alias | array | string | Alias for driver name. | |
$name | string | The driver name. | |
$options | array | Options per property. | |
$porter | Papi_Porter | Papi Porter instance. |
Method | Description | |
---|---|---|
__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. |
Method | Description | |
---|---|---|
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 | |
return | mixed |
public get_driver_name ( ) : string | ||
return | 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 | |
return | boolean |