public function __construct(EntityType $reflection, $name, $readonly, $type, $description = NULL)
{
$this->reflection = $reflection;
$this->name = (string) $name;
$this->readonly = (bool) $readonly;
$this->type = (string) $type;
$this->description = $description === NULL ? NULL : (string) $description;
}
/** * @param EntityType $reflection * @param string $name * @param bool $readonly * @param string $type * @param string $column * @param bool $nullable * @param string $description */ public function __construct($reflection, $name, $readonly, $type, $column, $nullable, $description = NULL) { parent::__construct($reflection, $name, $readonly, $type, $description); $this->column = (string) $column; $this->nullable = (bool) $nullable; }