Class Phalcon\Mvc\Model\Binder
implements Phalcon\Mvc\Model\BinderInterface
Phalcon\Mvc\Model\Binding
This is an class for binding models into params for handler
Methods
public getBoundModels ()
Array for storing active bound models
public getOriginalValues ()
Array for original values
public __construct ([Phalcon\Cache\BackendInterface $cache])
Phalcon\Mvc\Model\Binder constructor
public setCache (Phalcon\Cache\BackendInterface $cache)
Gets cache instance
public getCache ()
Sets cache instance
public bindToHandler (mixed $handler, array $params, mixed $cacheKey, [mixed $methodName])
Bind models into params in proper handler
protected getParamsFromCache (mixed $cacheKey)
Get params classes from cache by key
protected getParamsFromReflection (mixed $handler, array $params, mixed $cacheKey, mixed $methodName)
Get modified params for handler using reflection