Prado\Util\TLogRoute::init PHP Méthode

init() public méthode

Initializes the route.
public init ( $config )
    public function init($config)
    {
    }

Usage Example

Exemple #1
0
 /**
  * Adds a TLogRoute instance to the log router.
  *
  * @param TLogRoute $route
  * @throws TInvalidDataTypeException if the route object is invalid
  */
 public function addRoute($route)
 {
     if (!$route instanceof TLogRoute) {
         throw new TInvalidDataTypeException('logrouter_routetype_invalid');
     }
     $this->_routes[] = $route;
     $route->init(null);
 }
All Usage Examples Of Prado\Util\TLogRoute::init