예제 #1
0
파일: V3Test.php 프로젝트: kunalp/openstack
 /**
  * @return \OpenStack\Identity\v3\Service
  */
 private function getService()
 {
     if (null === $this->service) {
         $this->service = (new OpenStack())->identityV3(Utils::getAuthOpts());
     }
     return $this->service;
 }
예제 #2
0
파일: V1Test.php 프로젝트: kunalp/openstack
 /**
  * @return \OpenStack\ObjectStore\v1\Service
  */
 private function getService()
 {
     if (null === $this->service) {
         $this->service = (new OpenStack())->objectStoreV1(Utils::getAuthOpts());
     }
     return $this->service;
 }