[Components] substitute ezc*Instance with registry class in ezcBase

2009-04-14 Thread Thomas Koch
Hi, I opened an issue[1] that ezcSearch misses lazy initialization and as a first attempt to solve it, I copied ezcPersistentSessionInstance and addapted it as ezcSearchInstance. But ezcPersistentSessionInstance has itself been copied from ezcDatabaseInstance. And I need another xyzInstance

Re: [Components] substitute ezc*Instance with registry class in ezcBase

2009-04-14 Thread Benjamin Eberlei
this is bad practice imho, since it would lead to a bidirectional dependency from ezcBase on the components that require a registry since typehints and interface checks have to be implemented in the ezcBase Registry then, although supposedly all components have a dependency on ezcBase and not

[Components] allow @ operator only on internal functions?

2009-04-14 Thread Thomas Koch
I use an error handler to transform all PHP errors to exceptions. No I got: Exception: ErrorException include(/tmp/cache/arrayCache/.ezcMetaData): failed to open stream: No such file or directory in Cache/src/storage/file/array.php at line 57 Stack trace: 1.