/
Step 4: The Innomatic Container
Step 4: The Innomatic Container
Innomatic 7 architectural change
Innomatic 7.x will use Symfony Dependency Injection Container in place of the Innomatic Container.
Innomatic features Inversion of Control through a dependency injection container in \Innomatic\Core\InnomaticContainer.
The container is also responsible for bootstrapping Innomatic, tenants, and other core operations.
// InnomaticContainer is a singleton as defined in \Innomatic\Util\Singleton $container = \Innomatic\Core\InnomaticContainer::instance('\Innomatic\Core\InnomaticContainer'); // Get current tenant $tenant = $container->getCurrentTenant(); // Get current tenant user $tenant = $container->getCurrentUser(); // Get root database $rootDataAccess = $container->getDataAccess();
Next: Step 5: Code classes
, multiple selections available,
Related content
Step 5: Code classes
Step 5: Code classes
More like this
Step 6: Database
Step 6: Database
More like this
Legacy code and features
Legacy code and features
More like this
Step 4: Setting the environment type
Step 4: Setting the environment type
More like this
Innomatic Platform 7 Architecture
Innomatic Platform 7 Architecture
More like this
Beginner Tutorial
Beginner Tutorial
More like this