Merge branch '3.1' into 5.2
[GitHub/WoltLab/WCF.git] / wcfsetup / install / files / lib / system / database / table / column / BinaryDatabaseTableColumn.class.php
1 <?php
2 namespace wcf\system\database\table\column;
3
4 /**
5 * Represents a `binary` database table column.
6 *
7 * @author Matthias Schmidt
8 * @copyright 2001-2019 WoltLab GmbH
9 * @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
10 * @package WoltLabSuite\Core\System\Database\Table\Column
11 * @since 5.2
12 */
13 class BinaryDatabaseTableColumn extends AbstractDatabaseTableColumn implements ILengthDatabaseTableColumn {
14 use TLengthDatabaseTableColumn;
15
16 /**
17 * @inheritDoc
18 */
19 protected $type = 'binary';
20
21 /**
22 * @inheritDoc
23 */
24 public function getMaximumLength() {
25 return 255;
26 }
27
28 /**
29 * @inheritDoc
30 */
31 public function getMinimumLength() {
32 return 1;
33 }
34 }