A little improvement in installation guide (documentation)

Issue #2 invalid
Juvenildo vaz mendes created an issue

In the installation guide / Configuring AppView could be have an example with initialize method (that is created by default in CakePHP). Something like that (or just a comment about):

namespace App\View;

use LilHermit\Bootstrap4\View\BootstrapView;

class AppView extends BootstrapView
{
    public function initialize()
    {
        parent::initialize();
    }
}

This is not a big problem, but makes me spend a lot of time trying figure out why plugin was not working properly.

Comments (2)

  1. lilHermit repo owner

    Not sure this is required because if you don't override initialize then the parent method gets called anyway

  2. Log in to comment