commiting uncommited changes on live site
[weblabels.fsf.org.git] / crm.fsf.org / 20131203 / files / sites / all / modules-old / civicrm / packages / ezc / Base / src / interfaces / configuration_initializer.php
1 <?php
2 /**
3 * File containing the ezcBaseConfigurationInitializer class
4 *
5 * @package Base
6 * @version 1.7
7 * @copyright Copyright (C) 2005-2009 eZ Systems AS. All rights reserved.
8 * @license http://ez.no/licenses/new_bsd New BSD License
9 */
10 /**
11 * This class provides the interface that classes need to implement to act as
12 * an callback initializer class to work with the delayed initialization
13 * mechanism.
14 *
15 * @package Base
16 * @version 1.7
17 */
18 interface ezcBaseConfigurationInitializer
19 {
20 /**
21 * Configures the given object, or returns the proper object depending on
22 * the given identifier.
23 *
24 * In case a string identifier was given, it should return the associated
25 * object, in case an object was given the method should return null.
26 *
27 * @param string|object $object
28 * @return mixed
29 */
30 static public function configureObject( $object );
31 }
32 ?>