public static function loadClass($_class) { $_class = ltrim($_class, "\\"); $_file_path = \App\Config\Config::getBasePath() . "/" . str_replace("\\", "/", $_class); $_file_path .= ".php"; return include $_file_path; }
public function __construct() { $this->person_collection = array(); $this->storage_file = \App\Config\Config::getBasePath() . \App\Config\Config::getStorageFileName(); }