BeanFactory Cache
Intro
The BeanFactory
is a great way to load and query for beans without
using SQL.
For example we can load an Account with a known id:
$bean = BeanFactory::getBean('Accounts', '1234');
Unexpected behaviour
However this method can cause some unexpected behaviour. Let’s look at the following example: wzxhzdk ...
more ...