public function registerGitService(Application $app)
 {
     $git = new GitService($app->get('blog.workdir'));
     $builder = new BuilderService($git);
     $app->getServices()->set('git', $git);
     $app->getServices()->set('builder', $builder);
 }
Beispiel #2
0
 /**
  */
 public function testGetInvalidAction()
 {
     $this->setExpectedException('Fwk\\Core\\Exception');
     $this->object->get('TestAction');
 }