Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
RateFactory.php
Go to the documentation of this file.
1 <?php
13 
15 {
19  protected $_objectManager;
20 
24  public function __construct(\Magento\Framework\ObjectManagerInterface $objectManager)
25  {
26  $this->_objectManager = $objectManager;
27  }
28 
35  public function create(array $arguments = [])
36  {
37  return $this->_objectManager->create(\Magento\Tax\Model\Calculation\Rate::class, $arguments);
38  }
39 }
$objectManager
Definition: bootstrap.php:17
__construct(\Magento\Framework\ObjectManagerInterface $objectManager)
Definition: RateFactory.php:24
$arguments