Ejemplo n.º 1
0
 public static function getActionMeta(\ApiParam $params)
 {
     //
     $category = \Category::loadByName($params->categoryEnglishName);
     $user = \Visitor::user();
     $mobile = $user ? $user->mobile : null;
     $metaData = array();
     $microControls = array();
     $isActive = false;
     return compact('isActive', 'metaData', 'user', 'microControls');
 }