Inheritance: implements Phprest\Service\Serviceable
Exemple #1
0
 public function setUp()
 {
     $this->container = new Container();
     $service = new Service();
     $service->register($this->container, new Config(true));
 }
Exemple #2
0
 public function testGetter()
 {
     $service = new Service();
     $service->register($this->container, $this->hateoasConfig);
     $this->assertInstanceOf('\\Hateoas\\Hateoas', $this->serviceHateoas());
 }