1. BeanFactory Cache

    Fri 01 May 2015

    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:

    $ids …

Page 1 / 1