PlaceholderImagesPool.php 777 B

12345678910111213141516171819202122232425262728293031323334353637
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. declare(strict_types=1);
  7. namespace Magento\Tinymce3\Model\Config\Widget;
  8. /**
  9. * Class PlaceholderImages provide ability to override placeholder images for Widgets
  10. * @deprecated 100.3.0
  11. */
  12. class PlaceholderImagesPool
  13. {
  14. /**
  15. * @var array
  16. */
  17. private $widgetPlaceholders;
  18. /**
  19. * PlaceholderImages constructor.
  20. * @param array $widgetPlaceholders
  21. */
  22. public function __construct(
  23. array $widgetPlaceholders = []
  24. ) {
  25. $this->widgetPlaceholders = $widgetPlaceholders;
  26. }
  27. /**
  28. * @return array
  29. */
  30. public function getWidgetPlaceholders() : array
  31. {
  32. return $this->widgetPlaceholders;
  33. }
  34. }