Application\Home\RouteGroup::__construct PHP Method

__construct() public method

public __construct ( )
    public function __construct()
    {
        parent::__construct(true);
        $this->add('/about', 'Index::about');
        $this->addGet('/about1', 'Index::about');
        $this->addGet('/about2', [IndexController::class, 'about']);
        $this->addGet('/about3', ['controller' => IndexController::class, 'action' => 'about']);
    }
RouteGroup