Allow dispatch to handle class methods
-
xangelo (at gmail)
I would think this poses a limitation that is too strict. Anything added through this system would require that you need to have that feature as a static function. Why not just create the function Admin_new_post() which allows you to prepare the Admin() object as necessary before calling Admin->post()?
To me, this is something that I would regard more as a convenience method as opposed to something that adds any real functionality to Limonade-php
-
xangelo (at gmail)
I stand corrected:
# Static class method call, MyClass::hello(); dispatch('/hello', array('MyClass', 'hello')); # Object method call, $obj->hello(); dispatch('/hello', array($obj, 'hello')); # Static class method call (As of PHP 5.2.3), MyClass::hello(); dispatch('/hello', 'MyClass::hello'); -
Fabrice Luraine
- State changed from new to invalid
dispatchmethods handle a pseudo-typecallback. It can be a function, an object method, a static method or a closure. See php documentation to learn more about callbacks. -
JuanCena
I don't have an idea about this coding, the only codes I know are HTML and BBCodes. I used these codes when commenting in other blog sites or forum sites. I want to learn Python Programming language because most of the popular websites today like YouTube, Amazon, Spotify, Google, Instagram, Netflix, Uber, Dropbox, Pinterest, and many more are made using Python. I know that this Among Us game was created using Python.
https://among-us.io/
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.