We can use the Service Container as a Registry by binding an instance of an object in it and get it back when we'll need it:
// Create an instance.
$john = new User('John');
// Bind it to the service container.
App::instance('the-user', $john);
// ...somewhere and/or in another class...
// Get back the instance
$john = App::make('the-user');