Esempio n. 1
0
 /**
  * Is the schema ready?
  *
  * @return bool
  */
 public function hasSchema()
 {
     $tableName = $this->tableName;
     return array_filter($this->connection->getCollectionNames(), function ($collection) use($tableName) {
         return $collection === $tableName;
     });
 }