/** * Factory */ public function factory() { // Get all of the information from the database $chapters = Chapter::findAll(); return new self($chapters); }