StaticPageRepositoryInterface
in
Interface StaticPage.
Tags
Table of Contents
Methods
- createStaticPage() : StaticPage
- deleteStaticPage() : bool
- getStaticPageOptions() : array<string|int, mixed>
- getStaticPageUrlById() : string
- updateStaticPage() : StaticPage
Methods
createStaticPage()
public
createStaticPage(array<string, mixed> $attributes) : StaticPage
Parameters
- $attributes : array<string, mixed>
Return values
StaticPagedeleteStaticPage()
public
deleteStaticPage(int $id) : bool
Parameters
- $id : int
Return values
boolgetStaticPageOptions()
public
getStaticPageOptions() : array<string|int, mixed>
Return values
array<string|int, mixed>getStaticPageUrlById()
public
getStaticPageUrlById(null|int $id) : string
Parameters
- $id : null|int
Return values
stringupdateStaticPage()
public
updateStaticPage(int $id, array<string, mixed> $attributes) : StaticPage
Parameters
- $id : int
- $attributes : array<string, mixed>