Beispiel #1
0
 /**
  * Return instance of the abstract factory singleton
  *
  * @return \XLite\Model\Factory
  */
 public function getFactory()
 {
     return \XLite\Model\Factory::getInstance();
 }
Beispiel #2
0
 /**
  * getTopMessage
  *
  * @return array
  */
 public function getTopMessage()
 {
     return \XLite\Model\Factory::create($this->getWidgetClass())->getTopMessage($this->isPassed());
 }