Api\V1\Engine\Client::initialize PHP Method

initialize() public method

This method exists because the service container needs to be set before the rest of API functionality gets loaded.
public initialize ( )
    public function initialize()
    {
        $this->initializeTwig();
        $this->url = SITE_URL . str_replace('client/', 'index.php', $_SERVER['REQUEST_URI']);
        $this->loadLanguages();
        $this->loadModules();
        $this->display();
    }