ciricihq/caduco

View on GitHub
src/Model/Table/CaducitiesTable.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php
namespace Cirici\Caduco\Model\Table;

use Cake\ORM\Query;
use Cake\ORM\RulesChecker;
use Cake\ORM\Table;
use Cake\Validation\Validator;

class CaducitiesTable extends Table
{

    /**
     * Initialize method
     *
     * @param array $config The configuration for the Table.
     * @return void
     */
    public function initialize(array $config)
    {
        parent::initialize($config);
        $this->table('caducities');
        $this->displayField('id');
        $this->primaryKey('id');
    }
}