public function api(string $link = null, string $method = null): \TheCMSThread\Classes\API
    {
        static $api;
        if ($api === null) {
            $api = $this->container->get("TheCMSThread\\Core\\API");
        }
        return $api->set($link, $method);
    }