Exemplo n.º 1
0
 /**
  *
  *
  * @return array
  */
 public function getUser()
 {
     try {
         $user = \Helper::getSessionCachedUser();
         return $user;
     } catch (\Exception $e) {
         abort('404');
     }
 }
Exemplo n.º 2
0
 /**
  * 
  *
  * @param \DateTime $begin
  * @param \DateTime $end
  * @return array 
  * @static 
  */
 public static function getMonthPeriod($begin, $end)
 {
     return \App\Werashop\Helper\Helper::getMonthPeriod($begin, $end);
 }