WebVIEP Plugin

BoothRepositoryWp implements BoothRepository

Table of Contents

Interfaces

BoothRepository
Repository interface for Booth aggregates.

Methods

findById()  : Booth|null
Find a booth by its identifier.
save()  : void
Persist a Booth aggregate back to WordPress storage.
search()  : BoothSearchResult
Search booths with query/topic filters.
mapPost()  : Booth
Map a WordPress post to a Booth aggregate.

Methods

save()

Persist a Booth aggregate back to WordPress storage.

public save(Booth $booth) : void
Parameters
$booth : Booth

Booth aggregate.

mapPost()

Map a WordPress post to a Booth aggregate.

private mapPost(WP_Post $post) : Booth
Parameters
$post : WP_Post

WordPress post.

Return values
Booth

        
On this page

Search results