Beispiel #1
0
 public function defineDocument()
 {
     $tmp = explode('\\', get_class($this));
     $document = str_replace('Model', '', $tmp[2]);
     $docName = $tmp[0] . '\\Model\\Document\\' . $document;
     unset($tmp);
     Factory::loadFile($docName);
 }
Beispiel #2
0
 public static function loadClass()
 {
     Factory::loadFile(Config::get('Auth.userEntity'));
 }