<?php namespace App\Model\Table; use Cake\ORM\Query; use Cake\ORM\Table; use Cake\Validation\Validator; /** * Lists Model */ class ListsTable extends Table { /** * Initialize method * * @param array $config The configuration for the Table. * @return void */ public function initialize(array $config) { $this->table('lists'); $this->displayField('name'); $this->primaryKey('id'); $this->hasMany('Tasks