<?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__.'ToolbarManagerInterface is deprecated since 1.x '.
'and will be removed with the 2.0 release.',
E_USER_DEPRECATED
);
/**
* @author GeLo <[email protected]>
*/
interface ToolbarManagerInterface
{
/**
* @return bool
*/
public function hasItems();
/**
* @return array
*/
public function getItems();
/**
* @param array $items
*/
public function setItems(array $items);
/**
* @param string $name
*
* @return bool
*/
public function hasItem($name);
/**
* @param string $name
*
* @return array
*/
public function getItem($name);
/**
* @param string $name
* @param array $item
*/
public function setItem($name, array $item);
/**
* @return bool
*/
public function hasToolbars();
/**
* @return array
*/
public function getToolbars();
/**
* @param array $toolbars
*/
public function setToolbars(array $toolbars);
/**
* @param string $name
*
* @return bool
*/
public function hasToolbar($name);
/**
* @param string $name
*
* @return array
*/
public function getToolbar($name);
/**
* @param string $name
* @param array $toolbar
*/
public function setToolbar($name, array $toolbar);
/**
* @param string $name
*
* @return array
*/
public function resolveToolbar($name);
}