diff --git a/app/Services/Registrar.php b/app/Services/Registrar.php deleted file mode 100644 index a881cf60..00000000 --- a/app/Services/Registrar.php +++ /dev/null @@ -1,51 +0,0 @@ - 'required|max:255', - 'email' => 'required|email|max:255|unique:users', - 'password' => 'required|confirmed|min:6', - ]); - } - - /** - * Create a new user instance after a valid registration. - * - * @param array $data - * - * @return User - */ - public function create(array $data) - { - return User::create([ - 'name' => $data['name'], - 'email' => $data['email'], - 'password' => bcrypt($data['password']), - ]); - } -}