src/Page/Page.php
public function getContainer(): Container
    {
        if (is_null($this->container)) {
            $this->container = $this->ui()->factory()->getContainer();
        }

        return $this->container;
    }
public function getContainer(): Container
    {
        if (is_null($this->container)) {
            $this->container = $this->ui()->factory()->getContainer();
        }

        return $this->container;
    }
public function getContainer ( ) : Container { if ( is_null ( $ this -> container ) ) { $ this -> container = $ this -> ui ( ) -> factory ( ) -> getContainer ( ) ; } return $ this -> container ; }
Return the service container instance.

@return Container
Return the service container instance .