<?php namespace Hybrid;

use \Closure;

class Core
{
	public static function start() { }

	public static function import($file_path, $folder, $scope = 'hybrid') 
	{
		switch ($scope)
		{
			case 'hybrid' :
				$scope = Bundle::path('hybrid');
				break;
			case 'app' :
			case 'sys' :
				$scope = path($scope);
			default :
				$scope = __DIR__.DS;
		}

		$file_path = str_replace('/', DS, $path);

		$file = $scope.$folder.DS.$file_path.EXT;

		if (is_file($file))
		{
			require_once $scope.$folder.DS.$file_path.EXT;
		}
	}
}
<?php namespace Hybrid;

use \Closure;

class Core
{
	/**
	 * Start Hybrid
	 *
	 * @static
	 * @access  public
	 * @return  void
	 */
	public static function start() 
	{

	}

	/**
	 * Import file
	 *
	 * @static
	 * @access  public
	 * @param   string      $file_path
	 * @param   string      $folder
	 * @param   string      $scope
	 * @return  void
	 */
	public static function import($file_path, $folder, $scope = 'hybrid') 
	{
		switch ($scope)
		{
			case 'hybrid' :
				$scope = Bundle::path('hybrid');
				break;
			case 'app' :
			case 'sys' :
				$scope = path($scope);
			default :
				$scope = __DIR__.DS;
		}

		$file_path = str_replace('/', DS, $path);

		$file = $scope.$folder.DS.$file_path.EXT;

		if (is_file($file))
		{
			include $scope.$folder.DS.$file_path.EXT;
		}
	}
}
Update Hybrid\Core::import to use include instead of require_once, and add some docblock
Update Hybrid\Core::import to use include instead of require_once, and add some docblock
