Skip to content

Add initialize() to all Table Class #68

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions