/** * create action allows to create a new user * * @ActionDefinition( layout='auth_layout.tpl', zone='content:users_display;', propel ) */ public function create() { $response = AuthUsersBss::create($this->request); if (is_array($response)) { $this->response->_id = $response['id']; $this->response->element = $response; } else { $this->response->exception = $response; } }