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

overrider for modules' controllers #224

Open
SebSept opened this issue Dec 6, 2021 · 0 comments
Open

overrider for modules' controllers #224

SebSept opened this issue Dec 6, 2021 · 0 comments
Labels
feature a new feature to implement

Comments

@SebSept
Copy link
Contributor

SebSept commented Dec 6, 2021

Questions Answers
Command name? fop:override:make
Command description? override a front controller of a module
Command domain? same
Command parameters? file path, like others
Possible impacts? none

For example :
./bin/console fop:override:make modules/<a_module>/controllers/front/api.php
will generate a file
override/modules/productlistadding/controllers/front/api.php

with the correct class

class AModuleApiModuleFrontControllerOverride extends AModuleApiModuleFrontController
{
}
@SebSept SebSept added the feature a new feature to implement label Dec 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature a new feature to implement
Projects
None yet
Development

No branches or pull requests

1 participant