PHP Class LeanMapper\Connection

Author: Vojtěch Kohout
Inheritance: extends Dibi\Connection
Show file Open project: tharos/leanmapper Class Usage Examples

Public Methods

Method Description
command ( ) : Fluent Creates new instance of Fluent
getFilterCallback ( string $name ) : callable Gets callable filter's callback
getWiringSchema ( string $filterName ) : string Gets wiring schema
hasFilter ( string $name ) : boolean
registerFilter ( string $name, mixed $callback, string | integer | null $wiringSchema = null ) Registers new filter

Private Methods

Method Description
checkFilterExistence ( string $name )
translateWiringSchema ( string | integer | null $wiringSchema ) : string

Method Details

command() public method

Creates new instance of Fluent
public command ( ) : Fluent
return Fluent

getFilterCallback() public method

Gets callable filter's callback
public getFilterCallback ( string $name ) : callable
$name string
return callable

getWiringSchema() public method

Gets wiring schema
public getWiringSchema ( string $filterName ) : string
$filterName string
return string

hasFilter() public method

public hasFilter ( string $name ) : boolean
$name string
return boolean

registerFilter() public method

Registers new filter
public registerFilter ( string $name, mixed $callback, string | integer | null $wiringSchema = null )
$name string
$callback mixed
$wiringSchema string | integer | null