<?php require 'vendor/autoload.php'; //this autoloads everything $registration = new Acme\RegisterUser(); $authController = new Acme\AuthController($registration); $authController->register(); ?>
<?php $registration = new Acme\RegisterUser(); $authcontroller = new Acme\AuthController($registration); $authcontroller->register();