Файл: sngine-v2.8/Script/includes/libs/Embed/Providers/OEmbed/Infogram.php
Строк: 25
<?php
namespace EmbedProvidersOEmbed;
use EmbedHttpUrl;
class Infogram extends EndPoint implements EndPointInterface
{
protected static $pattern = [
'infogr.am/*',
'www.infogr.am/*',
];
protected static $endPoint = 'https://infogr.am/oembed';
/**
* {@inheritdoc}
*/
public function getEndPoint()
{
$url = $this->getUrl()->withScheme('https');
return Url::create(static::$endPoint)
->withQueryParameters([
'url' => (string) $url,
]);
}
}