PHP Class LeanMapper\Connection

Author: Vojtěch Kohout
Inheritance: extends Dibi\Connection
Afficher le fichier Open project: tharos/leanmapper Class Usage Examples

Méthodes publiques

Méthode 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

Méthode Description
checkFilterExistence ( string $name )
translateWiringSchema ( string | integer | null $wiringSchema ) : string

Method Details

command() public méthode

Creates new instance of Fluent
public command ( ) : Fluent
Résultat Fluent

getFilterCallback() public méthode

Gets callable filter's callback
public getFilterCallback ( string $name ) : callable
$name string
Résultat callable

getWiringSchema() public méthode

Gets wiring schema
public getWiringSchema ( string $filterName ) : string
$filterName string
Résultat string

hasFilter() public méthode

public hasFilter ( string $name ) : boolean
$name string
Résultat boolean

registerFilter() public méthode

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