include files in a method?

Posted by fayer on Stack Overflow See other posts from Stack Overflow or by fayer
Published on 2010-05-07T17:00:55Z Indexed on 2010/05/07 17:08 UTC
Read the original article Hit count: 119

Filed under:

i want to have a class that includes all files for me.

eg.

Loader::loadZend // loads all zend libraries
Loader::loadSymfony // loads all symfony components

if i include a file in a method, does this become globally available?

it seems that it doesnt work.

maybe i have done something wrong, or is there a workaround for this?

thanks

© Stack Overflow or respective owner

Related posts about php