You are here

public function BlazyOEmbed::__construct in Blazy 8.2

Constructs a BlazyManager object.

File

src/BlazyOEmbed.php, line 73

Class

BlazyOEmbed
Provides OEmbed integration.

Namespace

Drupal\blazy

Code

public function __construct(RequestStack $request, ResourceFetcherInterface $resource_fetcher, UrlResolverInterface $url_resolver, IFrameUrlHelper $iframe_url_helper, ImageFactory $image_factory, BlazyManagerInterface $blazy_manager) {
  $this->request = $request;
  $this->resourceFetcher = $resource_fetcher;
  $this->urlResolver = $url_resolver;
  $this->iframeUrlHelper = $iframe_url_helper;
  $this->imageFactory = $image_factory;
  $this->blazyManager = $blazy_manager;
}