PHP code example of gollumsf / doctrine-tinyint
1. Go to this page and download the library: Download gollumsf/doctrine-tinyint library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
gollumsf / doctrine-tinyint example snippets
namespace App\Entity;
use Doctrine\ORM\Mapping as ORM;
use GollumSF\Doctrine\TinyInt;
#[ORM\Entity]
#[ORM\Table(name: 'entities')]
class Entity {
#[Column(name: 'tinyint', type: TinyInt::TINYINT)]
private int $tinyint;
/////////
// ... //
/////////
}