Prado\Util\TLogRoute::init PHP Method

init() public method

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

Usage Example

Exemplo n.º 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