src/ForeverPHP/Core/Setup.php
public static function import($name) {
        $importPath = FOREVERPHP_ROOT . DS . $name . '.php';

        if (file_exists($importPath)) {
            include_once $importPath;
        } else {
            throw new SetupException("The object to import ($name) not exists.");
        }
    }
public static function import($name) {
        $importPath = FOREVERPHP_ROOT . DS . $name . '.php';

        if (file_exists($importPath)) {
            include_once $importPath;
        } else {
            throw new SetupException("The object to import ($name) not exists.");
        }
    }
public static function import ( $ name ) { $ importPath = FOREVERPHP_ROOT . DS . $ name . '.php' ; if ( file_exists ( $ importPath ) ) { include_once $ importPath ; } else { throw new SetupException ( "The object to import ($name) not exists." ) ; } }
Carga un objeto de foreverPHP.

@param string $name
Carga un objeto de foreverPHP .