public function setMigrations(DocumentMigration $migration) { $this->attributes['migrations'] = $migration; }