steeffffeen/FancyManiaLinks

View on GitHub
FML/Types/NewLineable.php

Summary

Maintainability
A
0 mins
Test Coverage
F
0%
<?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);

}