for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace ORM\Dbal\Error;
use ORM\Dbal\Column;
use ORM\Dbal\Error;
class NotNullable extends Error
{
const ERROR_CODE = 'NOT_NULLABLE';
protected $message = '%column% does not allow null values';
public function __construct(Column $column)
parent::__construct();
$this->params['column'] = $column->name;
}