src/Soluble/Schema/Source/AbstractSchemaSource.php
protected function validateTable($table)
    {
        $this->checkTableArgument($table);
        if (!$this->hasTable($table)) {
            throw new Exception\TableNotFoundException(__METHOD__ . ": Table '$table' does not exists in database '{$this->schema}'");
        }

        return $this;
    }
protected function validateTable($table)
    {
        $this->checkTableArgument($table);
        if (!$this->hasTable($table)) {
            throw new Exception\TableNotFoundException(__METHOD__ . ": Table '$table' does not exists in database '{$this->schema}'");
        }

        return $this;
    }
protected function validateTable ( $ table ) { $ this -> checkTableArgument ( $ table ) ; if ( ! $ this -> hasTable ( $ table ) ) { throw new Exception \ TableNotFoundException ( __METHOD__ . ": Table '$table' does not exists in database '{$this->schema}'" ) ; } return $ this ; }
Check whether a table parameter is valid and exists.

@throws Exception\InvalidArgumentException
@throws Exception\ErrorException
@throws Exception\ExceptionInterface
@throws Exception\TableNotFoundException

@param string $table

@return self
Check whether a table parameter is valid and exists .