String Datatype Doctrine 2 ORM


Description
String datatype definition


<?php
class Product
{
    /**
     * @Column(type="string")
     */
    private $name;
}
Maps a SQL VARCHAR to a PHP string.

SEE ALSO