vendor/friendsofsymfony/ckeditor-bundle/src/Model/ConfigManagerInterface.php line 18

Open in your IDE?
  1. <?php
  2. /*
  3.  * This file is part of the FOSCKEditor Bundle.
  4.  *
  5.  * (c) 2018 - present  Friends of Symfony
  6.  * (c) 2009 - 2017     Eric GELOEN <geloen.eric@gmail.com>
  7.  *
  8.  * For the full copyright and license information, please read the LICENSE
  9.  * file that was distributed with this source code.
  10.  */
  11. namespace FOS\CKEditorBundle\Model;
  12. @trigger_error(
  13.     'The '.__NAMESPACE__.'ConfigManagerInterface is deprecated since 1.x '.
  14.     'and will be removed with the 2.0 release.',
  15.     E_USER_DEPRECATED
  16. );
  17. /**
  18.  * @author GeLo <geloen.eric@gmail.com>
  19.  */
  20. interface ConfigManagerInterface
  21. {
  22.     /**
  23.      * @return string
  24.      */
  25.     public function getDefaultConfig();
  26.     /**
  27.      * @param string $defaultConfig
  28.      */
  29.     public function setDefaultConfig($defaultConfig);
  30.     /**
  31.      * @return bool
  32.      */
  33.     public function hasConfigs();
  34.     /**
  35.      * @return array
  36.      */
  37.     public function getConfigs();
  38.     /**
  39.      * @param array $configs
  40.      */
  41.     public function setConfigs(array $configs);
  42.     /**
  43.      * @param string $name
  44.      *
  45.      * @return bool
  46.      */
  47.     public function hasConfig($name);
  48.     /**
  49.      * @param string $name
  50.      *
  51.      * @return array
  52.      */
  53.     public function getConfig($name);
  54.     /**
  55.      * @param string $name
  56.      * @param array  $config
  57.      */
  58.     public function setConfig($name, array $config);
  59.     /**
  60.      * @param string $name
  61.      * @param array  $config
  62.      */
  63.     public function mergeConfig($name, array $config);
  64. }