Example #1
0
 public function getServlet()
 {
     if ($this->servlet) {
         return $this->servlet;
     }
     $this->init();
     $this->servlet = new RemoteServiceServlet($this->pixie);
     $mappedClassLoader = new \FolderMappedClassLoader();
     $this->servlet->setMappedClassLoader($mappedClassLoader);
     return $this->servlet;
 }
 /**
  * @inheritdoc
  * @param Pixie $pixie
  */
 function __construct(Pixie $pixie)
 {
     parent::__construct();
     $this->pixie = $pixie;
     $this->repository = new PHPixieORMRepository($pixie);
     $this->logger = \Logger::getLogger('gwtphp.RemoteServiceServlet');
 }
 /**
  * @param $enquiryId
  * @return ArrayList<EnquiryMessage>|EnquiryMessage[]
  * @throws IllegalArgumentException
  */
 public function getEnquiryMessages($enquiryId)
 {
     $this->checkAuthorized();
     return $this->servlet->getRepository()->getEnquiryMessages($this->wrap('enquiryId', $enquiryId));
 }