$di
$di :
Dependency injector
Class Scaffolding
Usage
class MyController extends Controller\Crud {
 protected $formName = 'My\Forms\My';    // default form used by CRUD
 protected $modelName = 'My\Models\My';  // default model used by CRUD
 public function initialize()
 {
     parent::initialize();
     // we can also add this event in the Module.php to the dispatcher
     $this->dispatcher->getEventsManager()->attach(
         Controller\Crud\Events::AFTER_CREATE, function() {
             $this->response->redirect('user-admin/index');
         }
     );
     // attach more events
 }
 // other actions
}
$adapter : \Vegas\DI\Scaffolding\AdapterInterface
Scaffolding adapter model
__construct(\Vegas\DI\Scaffolding\AdapterInterface $adapter)
                Constructor Sets scaffolding adapter
| \Vegas\DI\Scaffolding\AdapterInterface | $adapter | 
getAdapter() : \Vegas\DI\Scaffolding\AdapterInterface
Returns scaffolding adapter