Doctrine custom type for MySQL tinyint. Support length.
for symfony
doctrine:
dbal:
types:
tinyint: Kalibora\DoctrineType\TinyintType
<?php
namespace App\Entity;
use Doctrine\ORM\Mapping as ORM;
class Foo
{
/**
* @ORM\Column(type="tinyint", length=3)
*/
private $status;
}