|
12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- <?php
-
- namespace Lc\CaracoleBundle\Container\Order;
-
- use App\Entity\Order\OrderProductRefund;
- use Lc\CaracoleBundle\Factory\Order\OrderProductRefundFactory;
- use Lc\CaracoleBundle\Repository\Order\OrderProductRefundRepositoryQuery;
- use Lc\CaracoleBundle\Repository\Order\OrderProductRefundStore;
-
- class OrderProductRefundContainer
- {
- protected OrderProductRefundFactory $factory;
- protected OrderProductRefundRepositoryQuery $repositoryQuery;
- protected OrderProductRefundStore $store;
-
- public function __construct(
- OrderProductRefundFactory $factory,
- OrderProductRefundRepositoryQuery $repositoryQuery,
- OrderProductRefundStore $store
- ) {
- $this->factory = $factory;
- $this->repositoryQuery = $repositoryQuery;
- $this->store = $store;
- }
-
- public static function getEntityFqcn()
- {
- return OrderProductRefund::class;
- }
-
- public function getFactory(): OrderProductRefundFactory
- {
- return $this->factory;
- }
-
- public function getRepositoryQuery(): OrderProductRefundRepositoryQuery
- {
- return $this->repositoryQuery;
- }
-
- public function getStore(): OrderProductRefundStore
- {
- return $this->store;
- }
-
- }
|