Phprest\Config::getApiVersion PHP 메소드

getApiVersion() 공개 메소드

public getApiVersion ( ) : string
리턴 string
    public function getApiVersion()
    {
        return $this->apiVersion;
    }

Usage Example

예제 #1
0
 /**
  * @param Config $config
  */
 protected function setContainerElements(Config $config)
 {
     AnnotationRegistry::registerLoader('class_exists');
     $config->getHateoasService()->register($config->getContainer(), $config->getHateoasConfig());
     $config->getContainer()->add(Application::CONTAINER_ID_VENDOR, $config->getVendor());
     $config->getContainer()->add(Application::CONTAINER_ID_API_VERSION, $config->getApiVersion());
     $config->getContainer()->add(Application::CONTAINER_ID_DEBUG, $config->isDebug());
 }
All Usage Examples Of Phprest\Config::getApiVersion