public function setVersion(string $version)
    {

        if (substr($version, 0, 1) !== '/')
            $version = '/' . $version;

        $this->version = $version;

        return $this;
    }
public function setVersion(string $version)
    {

        if (substr($version, 0, 1) !== '/')
            $version = '/' . $version;

        $this->version = $version;

        return $this;
    }
public function setVersion ( string $ version ) { if ( substr ( $ version , 0 , 1 ) !== '/' ) $ version = '/' . $ version ; $ this -> version = $ version ; return $ this ; }
Set the version of the API endpoints base URI.

@param string $version

@return \Seat\Eseye\Eseye
Set the version of the API endpoints base URI .