pestle icon indicating copy to clipboard operation
pestle copied to clipboard

Is this all good?

Open astorm opened this issue 7 years ago • 2 comments

https://github.com/astorm/pestle/pull/258

astorm avatar Apr 06 '17 16:04 astorm

Can probably validate if input is a valid Controller/Action combination. Index/Index was always valid.

For instance, AFAIK, Magento2 always took a controllers/actions(classes in general) that began with a block case, we could check for that.

At a base level we can check if the class names requested are valid php class names to begin with.

QwertyZW avatar Apr 09 '17 16:04 QwertyZW

thanks @QwertyZW -- this is more a reminder to me that I should check the docs/and posts I've written about this command and make sure they're updated to use the new arguments. Appreciate the enthusiasm though!

astorm avatar Apr 10 '17 19:04 astorm