12345678910111213141516171819202122232425262728293031323334353637 |
- <?php
- /**
- * Copyright © Magento, Inc. All rights reserved.
- * See COPYING.txt for license details.
- */
- namespace Magento\SalesSequence\Model;
- /**
- * Class EntityPool
- *
- * Pool of entities that require sequence
- */
- class EntityPool
- {
- /**
- * @var array
- */
- protected $entities;
- /**
- * @param array $entities
- */
- public function __construct(array $entities = [])
- {
- $this->entities = $entities;
- }
- /**
- * Retrieve entities that require sequence
- *
- * @return array
- */
- public function getEntities()
- {
- return $this->entities;
- }
- }
|