Phprest\Service\Hateoas\Config::getServiceName PHP Метод

getServiceName() публичный статический Метод

public static getServiceName ( ) : string
Результат string
    public static function getServiceName()
    {
        return 'hateoas';
    }

Usage Example

Пример #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