/** * Implement authorized function using Builder Auth::isAuthorized */ public function isAuthorized($user) { /** * Using Builder Auth to verify if user is authorized to access */ return \Builder\Lib\Auth::isAuthorized($user['id'], $this->request); }