Table::schema PHP Метод

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

public schema ( )
    public function schema()
    {
        if ($this->name() && is_null($this->schema)) {
            $db = $this->connection();
            $sources = $db->listSources();
            if (!in_array($this->table, $sources)) {
                throw new MissingTableException($this->table . ' could not be founded on ' . $this->connection . '.');
                return false;
            }
            if (empty($this->schema)) {
                $this->describe();
            }
        }
        return $this->schema;
    }