Phprest\Service\Hateoas\Config::getServiceName PHP Method

getServiceName() public static method

public static getServiceName ( ) : string
return string
    public static function getServiceName()
    {
        return 'hateoas';
    }

Usage Example

Beispiel #1
0
 public function testInstansiation()
 {
     $service = new Service();
     $service->register($this->container, $this->hateoasConfig);
     $hateoasService = $this->container->get(Config::getServiceName());
     $this->assertInstanceOf('\\Hateoas\\Hateoas', $hateoasService);
 }
All Usage Examples Of Phprest\Service\Hateoas\Config::getServiceName