I want to override core registration functionality in Laravel 7.23.2. According to this source I need to override the register() function, which belongs to the trait 'RegistersUsers' and is located in vendor/laravel/framework/src/Illuminate/Foundation/Auth/
However, in this folder all I see is User.php and "Access" folder which does not have the aforementioned trait as well. I've searched the entire vendor folder and there is no file RegistersUsers.php. In GitHub of Laravel Framework 7.x, there is no such file as well.
But I can see one in Laravel 5.5. So I assume registration method resides somewhere else.
So basically my two questions:
In registration controller there is a line
use RegistersUsers;If there is no RegistersUsers.php, then what is being used here?This will probably be answered by the first one, but where I can find the core implementation of
register()method?