public function insert(Schema $schema): Schema
    {
        $this->schemas[$schema->getNamespace()] = $schema;
        return $schema;
    }
public function insert(Schema $schema): Schema
    {
        $this->schemas[$schema->getNamespace()] = $schema;
        return $schema;
    }
public function insert ( Schema $ schema ) : Schema { $ this -> schemas [ $ schema -> getNamespace ( ) ] = $ schema ; return $ schema ; }
Insert a schema to the collection
The returned object is the same schema
@param Schema $schema
@return Schema
Insert a schema to the collection The returned object is the same schema