protected function addUrlManagerRules($app)
    {
        $app->urlManager->addRules([new GroupUrlRule([
                'prefix' => $this->id,
                'rules' => require __DIR__ . '/url-rules.php',
            ])], true);
    }
protected function addUrlManagerRules($app)
    {
        $app->urlManager->addRules([new GroupUrlRule([
                'prefix' => $this->id,
                'rules' => require __DIR__ . '/url-rules.php',
            ])], true);
    }
protected function addUrlManagerRules ( $ app ) { $ app -> urlManager -> addRules ( [ new GroupUrlRule ( [ 'prefix' => $ this -> id , 'rules' => require __DIR__ . '/url-rules.php' , ] ) ] , true ) ; }
Adds UrlManager rules.
@param Application $app the application currently running
@since 0.2
Adds UrlManager rules .