for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file is part of the Ivory CKEditor package.
*
* (c) Eric GELOEN <[email protected]>
* For the full copyright and license information, please read the LICENSE
* file that was distributed with this source code.
*/
namespace Ivory\CKEditorBundle\Exception;
/**
* @author GeLo <[email protected]>
class ToolbarManagerException extends Exception
{
* @param string $name
* @return ToolbarManagerException
public static function itemDoesNotExist($name)
return new static(sprintf('The CKEditor toolbar item "%s" does not exist.', $name));
}
public static function toolbarDoesNotExist($name)
return new static(sprintf('The CKEditor toolbar "%s" does not exist.', $name));