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