[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/administrator/components/com_media/src/Provider/ -> ProviderInterface.php (source)

   1  <?php
   2  
   3  /**
   4   * @package     Joomla.Administrator
   5   * @subpackage  com_media
   6   *
   7   * @copyright   (C) 2017 Open Source Matters, Inc. <https://www.joomla.org>
   8   * @license     GNU General Public License version 2 or later; see LICENSE.txt
   9   */
  10  
  11  namespace Joomla\Component\Media\Administrator\Provider;
  12  
  13  use Joomla\Component\Media\Administrator\Adapter\AdapterInterface;
  14  
  15  // phpcs:disable PSR1.Files.SideEffects
  16  \defined('_JEXEC') or die;
  17  // phpcs:enable PSR1.Files.SideEffects
  18  
  19  /**
  20   * Media provider interface.
  21   *
  22   * @since  4.0.0
  23   */
  24  interface ProviderInterface
  25  {
  26      /**
  27       * Returns the ID of the provider
  28       *
  29       * @return  string
  30       *
  31       * @since  4.0.0
  32       */
  33      public function getID();
  34  
  35      /**
  36       * Returns the display name
  37       *
  38       * @return  string
  39       *
  40       * @since  4.0.0
  41       */
  42      public function getDisplayName();
  43  
  44      /**
  45       * Returns a list of adapters
  46       *
  47       * @return  AdapterInterface[]
  48       *
  49       * @since  4.0.0
  50       */
  51      public function getAdapters();
  52  }


Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer