Skip to content

Add initialize() to all Table Class #68

Open
@celsowm

Description

@celsowm

Issue type

  • bug
  • enhancement

Overview description

Hi Junichi !
Would be nice if all "new > CakePHP3 Table" have the initialize code pre-written by your plugin

Steps to reproduce

"new > CakePHP3 Table"

Actual results

<?php

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

use Cake\ORM\Table;

/**
 * CakePHP FuncionarioTable
 * @author celso
 */
class FuncionarioTable extends Table {
 
}

Expected results

<?php

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

use Cake\ORM\Table;

/**
 * CakePHP FuncionarioTable
 * @author celso
 */
class FuncionarioTable extends Table {
    
    public function initialize(array $config) {
        parent::initialize($config);
    }
    
}

Your environment (NetBeans and plugin version, e.t.c.)

Netbeans 10.0

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions