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

A little improvement in installation guide (documentation) #2

Closed
lilHermit opened this issue Feb 13, 2018 · 1 comment
Closed

A little improvement in installation guide (documentation) #2

lilHermit opened this issue Feb 13, 2018 · 1 comment
Labels
enhancement New feature or request trivial

Comments

@lilHermit
Copy link
Owner

Originally reported by Juvenildo Vaz (Bitbucket: Juven_v, GitHub: Unknown)


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):

#!php

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.


@lilHermit
Copy link
Owner Author

Original comment by l (Bitbucket: lilHermit, GitHub: lilHermit)


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

@lilHermit lilHermit added trivial enhancement New feature or request labels Sep 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request trivial
Projects
None yet
Development

No branches or pull requests

1 participant