Closed hikari-no-yume closed 10 years ago
I saw that laravel uses class_alias
. I read somewhere on the internet that class_alias
is faster than extends
. Thoughts? /cc @taylorotwell
@igorw I had no idea class aliases existed, though they're what I wanted. Just use class_alias
.
This should work: class_alias('Symfony\Component\HttpFoundation\Request', 'yolo\Request', true)
Implemented here: https://github.com/igorw/yolo/pull/7
ist gefixed
sehr gut
Ew, man. Why?
Now that's what I'm talking about.
Implementation: