src/Schema.php
public function add(Schema $schema, $addProperties = false) {
        $this->mergeInternal($this->schema, $schema->getSchemaArray(), false, $addProperties);
        return $this;
    }
public function add(Schema $schema, $addProperties = false) {
        $this->mergeInternal($this->schema, $schema->getSchemaArray(), false, $addProperties);
        return $this;
    }
public function add ( Schema $ schema , $ addProperties = false ) { $ this -> mergeInternal ( $ this -> schema , $ schema -> getSchemaArray ( ) , false , $ addProperties ) ; return $ this ; }
Add another schema to this one.

Adding schemas together is analogous to array addition. When you add a schema it will only add missing information.

@param Schema $schema The schema to add.
@param bool $addProperties Whether to add properties that don't exist in this schema.
@return $this
Add another schema to this one .