Dingo\Api\Routing\UrlGenerator::version PHP Метод

version() публичный Метод

Set the routes to use from the version.
public version ( string $version ) : UrlGenerator
$version string
Результат UrlGenerator
    public function version($version)
    {
        $this->routes = $this->collections[$version];
        return $this;
    }