<?php
/*
* This file is part of the FOSCKEditor Bundle.
*
* (c) 2018 - present Friends of Symfony
* (c) 2009 - 2017 Eric GELOEN <[email protected]>
*
* For the full copyright and license information, please read the LICENSE
* file that was distributed with this source code.
*/
namespace FOS\CKEditorBundle\Model;
@trigger_error(
'The '.__NAMESPACE__.'ConfigManagerInterface is deprecated since 1.x '.
'and will be removed with the 2.0 release.',
E_USER_DEPRECATED
);
/**
* @author GeLo <[email protected]>
*/
interface ConfigManagerInterface
{
/**
* @return string
*/
public function getDefaultConfig();
/**
* @param string $defaultConfig
*/
public function setDefaultConfig($defaultConfig);
/**
* @return bool
*/
public function hasConfigs();
/**
* @return array
*/
public function getConfigs();
/**
* @param array $configs
*/
public function setConfigs(array $configs);
/**
* @param string $name
*
* @return bool
*/
public function hasConfig($name);
/**
* @param string $name
*
* @return array
*/
public function getConfig($name);
/**
* @param string $name
* @param array $config
*/
public function setConfig($name, array $config);
/**
* @param string $name
* @param array $config
*/
public function mergeConfig($name, array $config);
}