TrackManiaControl/libs/FML/Types/NewLineable.php
2017-04-02 16:32:57 +02:00

39 lines
926 B
PHP

<?php
namespace FML\Types;
/**
* Interface for Elements with autonewline attribute
*
* @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
*/
interface NewLineable
{
/**
* Get auto new line
*
* @api
* @return bool
* @deprecated Use MultiLineable::getAutoNewLine()
* @see MultiLineable::getAutoNewLine()
*/
public function getAutoNewLine();
/**
* Set auto new line
*
* @api
* @param bool $autoNewLine If the Element should insert new lines automatically
* @return static
* @deprecated Use MultiLineable::setAutoNewLine()
* @see MultiLineable::setAutoNewLine()
*/
public function setAutoNewLine($autoNewLine);
}