*/ private $updates = []; /** * Adds a post update to the collection. * * @param Post_Update $update The post update to add. * * @return void */ public function add( Post_Update $update ): void { $this->updates[] = $update; } /** * Returns the post updates in the collection. * * @return array The post updates in the collection. */ public function get(): array { return $this->updates; } }