1 <?php
2
3 /*
4 * This file is part of the Icybee package.
5 *
6 * (c) Olivier Laviale <olivier.laviale@gmail.com>
7 *
8 * For the full copyright and license information, please view the LICENSE
9 * file that was distributed with this source code.
10 */
11
12 namespace Icybee\Modules\Editor;
13
14 use Brickrouge\Element;
15
16 /**
17 * "Raw" editor element.
18 */
19 class RawEditorElement extends Element implements EditorElement
20 {
21 public function __construct(array $attributes=array())
22 {
23 parent::__construct
24 (
25 'textarea', $attributes + array
26 (
27 'class' => 'editor raw'
28 )
29 );
30 }
31 }