Orangehill\Iseed\Iseed::hasTable PHP Метод

hasTable() публичный Метод

Checks if a database table exists
public hasTable ( string $table ) : boolean
$table string
Результат boolean
    public function hasTable($table)
    {
        return \Schema::connection($this->databaseName)->hasTable($table);
    }

Usage Example

Пример #1
0
 /**
  * Checks if a database table exists
  *
  * @param string $table
  * @return boolean 
  * @static 
  */
 public static function hasTable($table)
 {
     return \Orangehill\Iseed\Iseed::hasTable($table);
 }