Пример #1
0
 function __construct(\Delivery\Model\TipoBebida $tipoBebida = null)
 {
     if ($tipoBebida != null) {
         $this->tipoBebida = $tipoBebida;
     }
     parent::__construct();
 }
Пример #2
0
 function __construct(TipoPrato $tipoPrato = null)
 {
     if ($tipoPrato != null) {
         $this->tipoPrato = $tipoPrato;
     }
     parent::__construct();
 }
Пример #3
0
 function __construct(StatusPrato $statusPrato = null)
 {
     if ($statusPrato != null) {
         $this->statusPrato = $statusPrato;
     }
     parent::__construct();
 }
Пример #4
0
 function __construct(TamanhoPrato $tamanhoPrato = null)
 {
     if ($tamanhoPrato != null) {
         $this->tamanhoPrato = $tamanhoPrato;
     }
     parent::__construct();
 }
Пример #5
0
 public function __construct(Temperos $temperos = NULL)
 {
     $this->tabela = 'tempero';
     if (!$temperos == null) {
         $this->temperos = $temperos;
     }
     parent::__construct();
 }
Пример #6
0
 function __construct(Cardapio $cardapio = null)
 {
     $this->tabela = 'cardapio';
     if ($cardapio instanceof Cardapio) {
         $this->cardapio = $cardapio;
     }
     parent::__construct();
 }
Пример #7
0
 public function __construct(CardapioPrato $cardapioPrato = NULL)
 {
     $this->tabela = 'cardapio_prato';
     if (!$cardapioPrato == null) {
         $this->setCardapioPrato($cardapioPrato);
     }
     parent::__construct();
 }
Пример #8
0
 function __construct(Login $login = null)
 {
     $this->tabela = 'login';
     if ($login instanceof Login) {
         $this->login = $login;
     }
     parent::__construct();
 }
Пример #9
0
 public function __construct(ItensDoPedido $itensDoPedido = NULL)
 {
     $this->tabela = 'itens_do_pedido';
     if (!$itensDoPedido == null) {
         $this->setItensDoPedido($itensDoPedido);
     }
     parent::__construct();
 }
Пример #10
0
 public function __construct(Imagem $imagem = NULL)
 {
     $this->tabela = 'imagem_prato';
     if (!$imagem == null) {
         $this->imagem = $imagem;
     }
     parent::__construct();
 }
Пример #11
0
 public function __construct(Ingredientes $ingredientes = NULL)
 {
     $this->tabela = 'ingrediente';
     if (!$ingredientes == null) {
         $this->ingredientes = $ingredientes;
     }
     parent::__construct();
 }
Пример #12
0
 function __construct(Funcionario $funcionario = null, Login $login = null)
 {
     $this->tabela = 'funcionario';
     if ($funcionario instanceof Funcionario) {
         $this->funcionario = $funcionario;
     }
     if ($login instanceof Login) {
         $this->login = $login;
     }
     parent::__construct();
 }
Пример #13
0
 function __construct($tabela = null, Pessoa $pessoa = null)
 {
     parent::__construct();
     $this->pessoa = $pessoa;
     $this->tabela = 'pessoa';
 }