Bolt\Storage\Database\Schema\Manager::check PHP Method

check() public method

Run a check against current and configured schemas.
public check ( ) : SchemaCheck
return SchemaCheck
    public function check()
    {
        $fromTables = $this->getInstalledTables();
        $toTables = $this->getSchemaTables();
        $response = $this->getSchemaComparator()->compare($fromTables, $toTables, $this->app['schema.content_tables']->keys());
        if (!$response->hasResponses()) {
            $this->getSchemaTimer()->setCheckExpiry();
        }
        return $response;
    }