コード例 #1
0
 public function __construct(Table $table, $alias = null)
 {
     $this->_id = UUID::guid();
     if ($alias == null) {
         $alias = $table->getTableName();
     }
     $this->_tables[$alias] = $table;
 }
コード例 #2
0
 protected function createRandomName(\ORC\Util\File\FileInfo $fileinfo)
 {
     $name = md5(UUID::guid()) . '.' . $fileinfo->getExtension();
     return $name;
 }