Scalr\Service\Aws::getEntityManager PHP Метод

getEntityManager() публичный Метод

This manager helps manipulate with retrieved from AWS objects. These object are stored in the cache.
public getEntityManager ( ) : Scalr\Service\Aws\EntityManager
Результат Scalr\Service\Aws\EntityManager Returns an AWS Entity Manager object.
    public function getEntityManager()
    {
        return $this->entityManager;
    }

Usage Example

Пример #1
0
 /**
  * Constructor
  *
  * @param    \Scalr\Service\Aws   $aws  AWS Instance for the specified region and
  *                                      that is associated with this service.
  * @throws   ElbException
  */
 public function __construct(\Scalr\Service\Aws $aws)
 {
     $this->aws = $aws;
     $this->class = get_class($this);
     $this->setApiVersion($this->getCurrentApiVersion());
     $this->em = $aws->getEntityManager();
 }