Class MultiLoader
Multi Bean Loader Helper
This code was originally part of the facade, however it has been decided to remove unique features to service classes like this to make them available to developers not using the facade class.
This helper class offers limited support for one-to-one relations by providing a service to load a set of beans with differnt types and a common ID.
Namespace: RedBeanPHP\Util
Copyright:
License: BSD/GPLv2
Author: Gabor de Mooij and the RedBeanPHP Community
File: RedBeanPHP/Util/MultiLoader.php
Located at Util/MultiLoader.php
Copyright:
copyright (c) G.J.G.T. (Gabor) de Mooij and the RedBeanPHP Community This source file is subject to the BSD/GPLv2 License that is bundled with this source code in the file license.txt.
License: BSD/GPLv2
Author: Gabor de Mooij and the RedBeanPHP Community
File: RedBeanPHP/Util/MultiLoader.php
Located at Util/MultiLoader.php
public static
OODBBean
|
#
load(
Loads multiple types of beans with the same ID. This might look like a strange method, however it can be useful for loading a one-to-one relation. |