StaticSeoUrlContentRepository

Implements \StaticSeoUrlContentRepositoryInterface

Class StaticSeoUrlRepository

category

System

package

StaticSeoUrl

subpackage

Repositories

Methods

StaticSeoUrlContentRepository constructor.

__construct(\StaticSeoUrlContentRepositoryWriterInterface $writer, \StaticSeoUrlContentRepositoryReaderInterface $reader, \StaticSeoUrlContentRepositoryDeleterInterface $deleter) 

Deletes a StaticSeoUrlContent by the given staticSeoUrlContent ID.

deleteStaticSeoUrlContentById(\IdType $staticSeoUrlContentId) : \StaticSeoUrlContentRepositoryInterface

Arguments

$staticSeoUrlContentId

\IdType

Response

\StaticSeoUrlContentRepositoryInterface

Same instance for method chaining.

Returns a StaticSeoUrlContent instance by the given staticSeoUrlContent ID.

getById(\IdType $staticSeoUrlContentId) : \StaticSeoUrlContentInterface

Arguments

$staticSeoUrlContentId

\IdType

Response

\StaticSeoUrlContentInterface

Returns a StaticSeoUrlContentCollection instance by the given staticSeoUrl ID.

getByStaticSeoUrlId(\IdType $staticSeoUrlId) : \StaticSeoUrlContentCollection

Arguments

$staticSeoUrlId

\IdType

Response

\StaticSeoUrlContentCollection

Stores a StaticSeoUrlContent to the database.

store(\IdType $staticSeoUrlId, \StaticSeoUrlContentInterface $staticSeoUrlContent) : \StaticSeoUrlContentRepositoryInterface

Arguments

$staticSeoUrlId

\IdType

$staticSeoUrlContent

\StaticSeoUrlContentInterface

Response

\StaticSeoUrlContentRepositoryInterface

Same instance for method chaining.

Properties

writer

writer : \StaticSeoUrlContentRepositoryWriterInterface

reader

reader : \StaticSeoUrlContentRepositoryReaderInterface

deleter

deleter : \StaticSeoUrlContentRepositoryDeleterInterface