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