| Total Complexity | 3 |
| Total Lines | 27 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 17 | class TClassBehavior extends \Prado\TComponent implements IClassBehavior |
||
| 18 | { |
||
| 19 | /** |
||
| 20 | * This processes configuration elements [from TBehaviorsModule]. This is usually |
||
| 21 | * called before attach but cannot be guaranteed to be called outside the {@link |
||
| 22 | * TBehaviorsModule} environment. This is only needed for complex behavior |
||
| 23 | * configurations. |
||
| 24 | * @param array|\Prado\Xml\TXmlElement $config any innards to the behavior configuration. |
||
| 25 | 7 | */ |
|
| 26 | public function init($config) |
||
| 28 | } |
||
| 29 | |||
| 30 | /** |
||
| 31 | * Attaches the behavior object to the component. |
||
| 32 | * @param \Prado\TComponent $component the component that this behavior is to be attached to. |
||
| 33 | 6 | */ |
|
| 34 | public function attach($component) |
||
| 35 | 6 | { |
|
| 36 | } |
||
| 37 | |||
| 38 | /** |
||
| 39 | * Detaches the behavior object from the component. |
||
| 40 | * @param \Prado\TComponent $component the component that this behavior is to be detached from. |
||
| 41 | */ |
||
| 42 | public function detach($component) |
||
| 44 | } |
||
| 45 | } |
||
| 46 |