You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

TicketMessageFactory.php 480B

преди 3 години
1234567891011121314151617181920212223
  1. <?php
  2. namespace Lc\SovBundle\Factory\Ticket;
  3. use Lc\SovBundle\Factory\AbstractFactory;
  4. use Lc\SovBundle\Model\Ticket\TicketMessageInterface;
  5. class TicketMessageFactory extends AbstractFactory
  6. {
  7. public function getEntityClass()
  8. {
  9. return TicketMessageInterface::class;
  10. }
  11. public function create($params = array())
  12. {
  13. if (!isset($params['status'])) {
  14. $params['status'] = 1;
  15. }
  16. return parent::create($params);
  17. }
  18. }