public function __construct() { /** columns might have closure, so it can not be const */ $this->columnData = array('id' => array('name' => 'id', 'attributes' => array('isa' => 'int', 'type' => 'int', 'primary' => true, 'autoIncrement' => true)), 'name' => array('name' => 'name', 'attributes' => array('isa' => 'str', 'type' => 'varchar', 'primary' => NULL, 'length' => 128)), 'value' => array('name' => 'value', 'attributes' => array('isa' => 'str', 'type' => 'varchar', 'primary' => NULL, 'length' => 256))); $this->columnNames = array('id', 'name', 'value'); $this->primaryKey = 'id'; $this->table = '__meta__'; $this->modelClass = 'LazyRecord\\Model\\Metadata'; $this->collectionClass = 'LazyRecord\\Model\\MetadataCollection'; $this->label = 'Metadata'; $this->relations = array(); $this->readSourceId = 'default'; $this->writeSourceId = 'default'; parent::__construct(); }