PHP code example of kalibora / doctrine-type-tinyint

1. Go to this page and download the library: Download kalibora/doctrine-type-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/ */

    

kalibora / doctrine-type-tinyint example snippets




namespace App\Entity;

use Doctrine\ORM\Mapping as ORM;

class Foo
{
    /**
     * @ORM\Column(type="tinyint", length=3)
     */
    private $status;
}