Yes, i finally rewritten major part of my code following the recommended
SF2 standard for naming convention of trait/interfaces.
Thanks Internals.
Regards,
Geo.
Geolim4
2015-04-19 15:33 GMT+02:00 François Laupretre :
> > De : georges [mailto:geol...@gmail.com]
> >
> > Currently spl_autoload_re
> De : georges [mailto:geol...@gmail.com]
>
> Currently spl_autoload_register() pass the name of the class entity to the
> first *Callable* argument, but there is now way (as i far i know) to know
> what kind of entity we're looking for.
> -Class ?
> -Interface ?
> -Trait?
As others already said,
Hi!
> Currently spl_autoload_register() pass the name of the class entity to the
> first *Callable* argument, but there is now way (as i far i know) to know
> what kind of entity we're looking for.
> -Class ?
> -Interface ?
> -Trait?
I'm not sure it would be very useful for the engine. It is obv
On Sat, Apr 18, 2015 at 4:24 PM, georges wrote:
> Hi php internals,
>
> Currently spl_autoload_register() pass the name of the class entity to the
> first *Callable* argument, but there is now way (as i far i know) to know
> what kind of entity we're looking for.
> -Class ?
> -Interface ?
> -Tr
Effectively from this perspective, i get it. I'm not a fan of PSR-4
convention as they are not officialy supported by PHP but i understand your
both (Ryan, Anthony) point of view.
Also well done for catching the Hungarian notation, i just noticed that is
a bad pratice.
Anyway, thanks for your (qu
On Sat, Apr 18, 2015 at 8:24 AM, georges wrote:
> Hi php internals,
>
> Currently spl_autoload_register() pass the name of the class entity to the
> first *Callable* argument, but there is now way (as i far i know) to know
> what kind of entity we're looking for.
> -Class ?
> -Interface ?
> -Tr
Georges,
On Sat, Apr 18, 2015 at 10:24 AM, georges wrote:
> Hi php internals,
>
> Currently spl_autoload_register() pass the name of the class entity to the
> first *Callable* argument, but there is now way (as i far i know) to know
> what kind of entity we're looking for.
> -Class ?
> -Interface
Hi php internals,
Currently spl_autoload_register() pass the name of the class entity to the
first *Callable* argument, but there is now way (as i far i know) to know
what kind of entity we're looking for.
-Class ?
-Interface ?
-Trait?
A second argument should be added to the *Callable* functi