source/Spiral/ORM/Schemas/SchemaBuilder.php
public function addSchema(SchemaInterface $schema): SchemaBuilder
    {
        $this->schemas[$schema->getClass()] = $schema;

        return $this;
    }
public function addSchema(SchemaInterface $schema): SchemaBuilder
    {
        $this->schemas[$schema->getClass()] = $schema;

        return $this;
    }
public function addSchema ( SchemaInterface $ schema ) : SchemaBuilder { $ this -> schemas [ $ schema -> getClass ( ) ] = $ schema ; return $ this ; }
Add new model schema into pool.

@param SchemaInterface $schema

@return self|$this
Add new model schema into pool .