2013-11-25 00:02:07 +01:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace FML\Types;
|
|
|
|
|
|
|
|
/**
|
2014-06-21 03:18:21 +02:00
|
|
|
* Interface for Elements with autonewline attribute
|
2013-11-25 00:02:07 +01:00
|
|
|
*
|
2017-03-25 18:40:15 +01:00
|
|
|
* @deprecated Use MultiLineable
|
|
|
|
* @see MultiLineable
|
|
|
|
* @author steeffeen <mail@steeffeen.com>
|
|
|
|
* @copyright FancyManiaLinks Copyright © 2017 Steffen Schröder
|
|
|
|
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
|
2013-11-25 00:02:07 +01:00
|
|
|
*/
|
2017-03-25 18:40:15 +01:00
|
|
|
interface NewLineable
|
|
|
|
{
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Get auto new line
|
|
|
|
*
|
|
|
|
* @api
|
|
|
|
* @deprecated
|
|
|
|
* @return bool
|
|
|
|
*/
|
|
|
|
public function getAutoNewLine();
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Set auto new line
|
|
|
|
*
|
|
|
|
* @api
|
|
|
|
* @deprecated
|
|
|
|
* @param bool $autoNewLine If the Element should insert new lines automatically
|
|
|
|
* @return static
|
|
|
|
*/
|
|
|
|
public function setAutoNewLine($autoNewLine);
|
2013-11-25 00:02:07 +01:00
|
|
|
|
|
|
|
}
|