Essence\Provider\OEmbed\Config::completeEndpoint PHP Method

completeEndpoint() public method

Appends a set of options as parameters to the endpoint.
public completeEndpoint ( array $options )
$options array Options to append.
    public function completeEndpoint($options)
    {
        $hasQuery = strrpos($this->_endpoint, '?') === false;
        $separator = $hasQuery ? '?' : '&';
        $this->_endpoint .= $separator . http_build_query($options);
    }