/** * @param \Doctrine\SkeletonMapper\ObjectManagerInterface $objectManager * @param \Doctrine\DBAL\Connection $connection * @param string $className * @param string $tableName */ public function __construct(ObjectManagerInterface $objectManager, Connection $connection, $className = null, $tableName = null) { parent::__construct($objectManager, $className); $this->connection = $connection; $this->tableName = $tableName; }
/** * @param \Doctrine\SkeletonMapper\ObjectManagerInterface $objectManager * @param \MongoCollection $mongoCollection * @param string $className */ public function __construct(ObjectManagerInterface $objectManager, MongoCollection $mongoCollection, $className = null) { parent::__construct($objectManager, $className); $this->mongoCollection = $mongoCollection; }
/** * @param \Doctrine\SkeletonMapper\ObjectManagerInterface $objectManager * @param \Doctrine\Common\Cache\Cache $cache * @param string $className */ public function __construct(ObjectManagerInterface $objectManager, Cache $cache, $className = null) { parent::__construct($objectManager, $className); $this->cache = $cache; }
/** * @param \Doctrine\SkeletonMapper\ObjectManagerInterface $objectManager * @param \Doctrine\Common\Collections\ArrayCollection $objects * @param string $className */ public function __construct(ObjectManagerInterface $objectManager, ArrayCollection $objects, $className = null) { parent::__construct($objectManager, $className); $this->objects = $objects; }
/** * @param \Doctrine\SkeletonMapper\ObjectManagerInterface $objectManager * @param \GuzzleHttp\Client $client * @param string $className * @param string $url */ public function __construct(ObjectManagerInterface $objectManager, Client $client, $className = null, $url = null) { parent::__construct($objectManager, $className); $this->client = $client; $this->url = $url; }