public function getTeamsController() { if (empty($this->teamsController)) { $this->teamsController = $this->getContainer()->api->controller(Teams::class); } return $this->teamsController; }