Skip to content

kalibora/doctrine-type-tinyint

Repository files navigation

doctrine-type-tinyint

Doctrine custom type for MySQL tinyint. Support length.

Usage

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;
}

About

Doctrine custom type for MySQL tinyint

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages