get('app.connection'); } /** * @return UserRepositoryInterface * @throws \Interop\Container\Exception\ContainerException */ public function getUserRepository() { return $this->get('domain.users.repository'); } /** * Get the command bus * * @return mixed * @throws \Interop\Container\Exception\ContainerException */ public function getCommandBus() { return $this->get('command.bus'); } /** * Get the event bus * * @return mixed * @throws \Interop\Container\Exception\ContainerException */ public function getEventBus() { return $this->get('domain.event.bus'); } /** * Get the Permissions domain service * * @throws \Interop\Container\Exception\ContainerException */ public function getPermissionsService() { return $this->get('domain.permissions.service'); } /** * @return mixed * @throws \Interop\Container\Exception\ContainerException */ public function getMailerService() { return $this->get('application.mailer'); } /** * @return mixed * @throws \Interop\Container\Exception\ContainerException */ public function getSettingsService() { return $this->get('domain.settings.service'); } }