Class \Prado\Util\Behaviors\TMapRouteBehavior
        TMapRouteBehavior class.
        
    TMapRouteBehavior routes the changes to Application Parameters to actual functions to affect change.
	Prado::getApplication()->getParameters()->attachBehavior('name'
		new TMapRouteBehavior('parameterToHook', [$obj, 'setParam']));
This code will call $obj->setParam($value) every time the parameter 'parameterToHook' changes in the Application Parameters.
	Prado::getApplication()->getParameters()->attachBehavior('name'
		new TMapRouteBehavior(null, [$obj, 'setParam']));
This code will call $obj->setParam($key, $value) every time any parameter changes in the Application Parameters.
Class hierarchy
- \Prado\Util\Behaviors\TMapRouteBehavior
- 
                     \Prado\Util\TBehavior
                    implements
                            IBehavior \Prado\Util\TBehavior
                    implements
                            IBehavior
- 
                     \Prado\Util\TBaseBehavior
                    implements
                            IBaseBehavior                                        uses
                            TPriorityPropertyTrait \Prado\Util\TBaseBehavior
                    implements
                            IBaseBehavior                                        uses
                            TPriorityPropertyTrait
- 
                     \Prado\TApplicationComponent \Prado\TApplicationComponent
- 
                     \Prado\TComponent \Prado\TComponent
Since: 4.2.0
| 
            public
                                                             | |
| 
            public
                                                             | 
                    dyAddItem(string $key, mixed $value, TCallChain $callchain) : mixed                
                    This is the dynamic event for handling TMap dyAddItem.
                     When there is a parameter, when the key is equal to the parameter, this calls handler($value). When parameter is null, this calls handler($key, $value). | 
| 
            public
                                                             | 
                    dyRemoveItem(string $key, mixed $value, TCallChain $callchain) : mixed                
                    This is the dynamic event for handling TMap dyRemoveItem.
                     When there is a parameter, when the key is equal to the parameter, this calls handler(null). When parameter is null, this calls handler($key, null). | 
| 
            public
                                                             | |
| 
            public
                                                             | 
| 
                                    \Prado\TApplicationComponent::FX_CACHE_FILE,                                     \Prado\TComponent::GLOBAL_RAISE_EVENT_LISTENER                             |