Lines Matching defs:mediaMarkup
41 protected MediaMarkup $mediaMarkup;
44 public function __construct(MediaMarkup $mediaMarkup)
46 $this->mediaMarkup = $mediaMarkup;
51 * @param MediaMarkup $mediaMarkup
58 public static function createFromMediaMarkup(MediaMarkup $mediaMarkup)
64 $mime = $mediaMarkup->getFetcher()->getMime();
67 return new SvgImageLink($mediaMarkup);
70 return new ThirdMediaLink($mediaMarkup);
72 return new RasterImageLink($mediaMarkup);
88 return $this->mediaMarkup->getFetchUrl();