Example #1
0
 /**
  * ClientType constructor.
  * @param ClassManager $classManager
  * @param $class
  */
 public function __construct(ClassManager $classManager, $class)
 {
     $this->class = $classManager->getEntityClass($class);
 }
Example #2
0
 /**
  * InvoiceType constructor.
  * @param ClassManager $classManager
  * @param $class
  */
 public function __construct(ClassManager $classManager, $class, $seller, $buyer)
 {
     $this->class = $classManager->getEntityClass($class);
     $this->seller = $seller;
     $this->buyer = $buyer;
 }