Changeset View
Changeset View
Standalone View
Standalone View
branches/5.3.x/core/kernel/utility/factory.php
<?php | <?php | ||||
/** | /** | ||||
* @version $Id$ | * @version $Id$ | ||||
* @package In-Portal | * @package In-Portal | ||||
* @copyright Copyright (C) 1997 - 2009 Intechnic. All rights reserved. | * @copyright Copyright (C) 1997 - 2009 Intechnic. All rights reserved. | ||||
* @license GNU/GPL | * @license GNU/GPL | ||||
* In-Portal is Open Source software. | * In-Portal is Open Source software. | ||||
* This means that this software may have been modified pursuant | * This means that this software may have been modified pursuant | ||||
* the GNU General Public License, and as distributed it includes | * the GNU General Public License, and as distributed it includes | ||||
* or is derivative of works licensed under the GNU General Public License | * or is derivative of works licensed under the GNU General Public License | ||||
* or other free or open source software licenses. | * or other free or open source software licenses. | ||||
* See http://www.in-portal.org/license for copyright notices and details. | * See http://www.in-portal.org/license for copyright notices and details. | ||||
*/ | */ | ||||
use Intechnic\InPortal\Core\kernel\utility\ClassDiscovery\ClassMapBuilder; | use InPortal\Core\kernel\utility\ClassDiscovery\ClassMapBuilder; | ||||
defined('FULL_PATH') or die('restricted access!'); | defined('FULL_PATH') or die('restricted access!'); | ||||
class kFactory extends kBase implements kiCacheable { | class kFactory extends kBase implements kiCacheable { | ||||
const TYPE_CLASS = 1; | const TYPE_CLASS = 1; | ||||
const TYPE_INTERFACE = 2; | const TYPE_INTERFACE = 2; | ||||
const TYPE_TRAIT = 3; | const TYPE_TRAIT = 3; | ||||
▲ Show 20 Lines • Show All 469 Lines • Show Last 20 Lines |