FOFModel::addBehavior
Adds a behavior to the model
Signature
public function addBehavior(string
$name,
array
$configĀ )
Parameters
-
$name
- The name of the behavior
-
$config
- Optional Behavior configuration
Returns
- boolean
- True if the behavior is found and added