Exemplo n.º 1
0
 /**
  * @return \T3DD\Backend\Domain\Model\DataTransfer\Registration\BillingAddress
  */
 public function getBillingAddress()
 {
     $billingAddress = $this->payload->getBillingAddress();
     if ($billingAddress !== NULL) {
         return $this->dataTransferObjectFactory->getDataTransferObject($billingAddress);
     }
 }
Exemplo n.º 2
0
 /**
  * @param Value $value
  */
 public function showAction(Value $value)
 {
     $this->view->assign('value', $this->dataTransferObjectFactory->getDataTransferObject($value));
 }
Exemplo n.º 3
0
 public function myVotesAction()
 {
     $this->view->assign('value', $this->dataTransferObjectFactory->getDataTransferObjects($this->voteRepository->findByAccount($this->securityContext->getAccount())));
 }
 /**
  * @param Session $session
  */
 public function showAction(Session $session)
 {
     $this->response->getHeaders()->setCacheControlDirective('no-store');
     $this->view->assign('value', $this->dataTransferObjectFactory->getDataTransferObject($session));
 }
Exemplo n.º 5
0
 /**
  * @return array
  */
 public function getThemes()
 {
     return $this->dataTransferObjectFactory->getDataTransferObjects($this->getPayload()->getThemes());
 }