BookStore::buildSchema PHP Method

buildSchema() protected method

Build and return a Schema object describing the data model
protected buildSchema ( ) : Schema
return GDS\Schema
    protected function buildSchema()
    {
        return (new GDS\Schema('Book'))->addString('title')->addString('author')->addString('isbn', TRUE)->setEntityClass('\\Book');
    }
BookStore