[Solar-talk] Solar::loadInterface()?

Antti Holvikari anttih at gmail.com
Wed Sep 6 04:51:23 PDT 2006


On 9/6/06, Rodrigo Moraes <rodrigo.moraes at gmail.com> wrote:
> On 9/6/06, Antti Holvikari wrote:
> > ZendFW has it, should Solar have it too? Or is there a reason why it's
> > not there? Now I have to use require_once to load my interfaces...
>
> I don't remember of any Solar interface, and I don't know why, I guess
> for the sake of simplicity. You can create your loadInterface()
> function (mixing Zend::loadInterface() with Solar::loadClass()) in
> your vendor main class, if you have one. Better than require_once, I
> think...

I don't want to depend on Zend.php just for one method ;-)

But is there any reason why it wouldn't make sense to add that to
Solar core, Paul?

-- 
Antti Holvikari <http://phphalo.com>


More information about the solar-talk mailing list