Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add initialize() to all Table Class #68

Open
1 of 2 tasks
celsowm opened this issue Mar 4, 2019 · 0 comments
Open
1 of 2 tasks

Add initialize() to all Table Class #68

celsowm opened this issue Mar 4, 2019 · 0 comments
Assignees

Comments

@celsowm
Copy link

celsowm commented Mar 4, 2019

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

@junichi11 junichi11 self-assigned this Mar 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants