private function prepareServices()
    {
        $services = new Container;

        $services->set(Router::class, new Router, true);
        $services->set(Dispatcher::class, new Dispatcher, true);
        $services->set(PackageManager::class, new PackageManager, true);
        $services->set(EventManager::class, new EventManager, true);
        $services->set(ViewManager::class, ViewManagerFactory::class);

        return $services;
    }
private function prepareServices()
    {
        $services = new Container;

        $services->set(Router::class, new Router, true);
        $services->set(Dispatcher::class, new Dispatcher, true);
        $services->set(PackageManager::class, new PackageManager, true);
        $services->set(EventManager::class, new EventManager, true);
        $services->set(ViewManager::class, ViewManagerFactory::class);

        return $services;
    }
private function prepareServices ( ) { $ services = new Container ; $ services -> set ( Router :: class , new Router , true ) ; $ services -> set ( Dispatcher :: class , new Dispatcher , true ) ; $ services -> set ( PackageManager :: class , new PackageManager , true ) ; $ services -> set ( EventManager :: class , new EventManager , true ) ; $ services -> set ( ViewManager :: class , ViewManagerFactory :: class ) ; return $ services ; }
Prepares services required by Tonis. We'll put them in the DIC so that they're
available to other factories if necessary.

@return Container
Prepares services required by Tonis . We ll put them in the DIC so that they re available to other factories if necessary .