TrackManiaControl/libs/FML/Types/NewLineable.php

39 lines
926 B
PHP
Raw Normal View History

<?php
namespace FML\Types;
/**
2014-06-21 03:18:21 +02:00
* Interface for Elements with autonewline attribute
*
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
*/
2017-03-25 18:40:15 +01:00
interface NewLineable
{
/**
* Get auto new line
*
* @api
* @return bool
2017-04-02 16:32:57 +02:00
* @deprecated Use MultiLineable::getAutoNewLine()
* @see MultiLineable::getAutoNewLine()
2017-03-25 18:40:15 +01:00
*/
public function getAutoNewLine();
/**
* Set auto new line
*
* @api
* @param bool $autoNewLine If the Element should insert new lines automatically
* @return static
2017-04-02 16:32:57 +02:00
* @deprecated Use MultiLineable::setAutoNewLine()
* @see MultiLineable::setAutoNewLine()
2017-03-25 18:40:15 +01:00
*/
public function setAutoNewLine($autoNewLine);
}