Sleimanx2\Plastic\Mappings\Mappings::exits PHP Méthode

exits() public méthode

Check it the repository table exits.
public exits ( ) : mixed
Résultat mixed
    public function exits()
    {
        return $this->schema()->hasTable($this->table);
    }

Usage Example

Exemple #1
0
 /**
  * Check if the mappings repository exists.
  *
  * @return mixed
  */
 public function repositoryExists()
 {
     return $this->repository->exits();
 }