Essence\Provider\OEmbed\Config::__construct PHP Метод

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

Constructor.
public __construct ( string $endpoint = '', string $format = Format::json )
$endpoint string The OEmbed endpoint.
$format string The expected response format.
    public function __construct($endpoint = '', $format = Format::json)
    {
        $this->_endpoint = $endpoint;
        $this->_format = $format;
    }