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.

24 lines
480B

  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. }