StaticSeoUrlContentRepository
in package
implements
StaticSeoUrlContentRepositoryInterface
Class StaticSeoUrlRepository
Tags
Interfaces, Classes and Traits
- StaticSeoUrlContentRepositoryInterface
- Interface StaticSeoUrlContentRepositoryInterface
Table of Contents
- $deleter : StaticSeoUrlContentRepositoryDeleterInterface
- $reader : StaticSeoUrlContentRepositoryReaderInterface
- $writer : StaticSeoUrlContentRepositoryWriterInterface
- __construct() : mixed
- StaticSeoUrlContentRepository constructor.
- deleteStaticSeoUrlContentById() : StaticSeoUrlContentRepositoryInterface
- Deletes a StaticSeoUrlContent by the given staticSeoUrlContent ID.
- getById() : StaticSeoUrlContentInterface
- Returns a StaticSeoUrlContent instance by the given staticSeoUrlContent ID.
- getByStaticSeoUrlId() : StaticSeoUrlContentCollection
- Returns a StaticSeoUrlContentCollection instance by the given staticSeoUrl ID.
- store() : StaticSeoUrlContentRepositoryInterface
- Stores a StaticSeoUrlContent to the database.
Properties
$deleter
protected
StaticSeoUrlContentRepositoryDeleterInterface
$deleter
$reader
protected
StaticSeoUrlContentRepositoryReaderInterface
$reader
$writer
protected
StaticSeoUrlContentRepositoryWriterInterface
$writer
Methods
__construct()
StaticSeoUrlContentRepository constructor.
public
__construct(StaticSeoUrlContentRepositoryWriterInterface $writer, StaticSeoUrlContentRepositoryReaderInterface $reader, StaticSeoUrlContentRepositoryDeleterInterface $deleter) : mixed
Parameters
- $writer : StaticSeoUrlContentRepositoryWriterInterface
- $reader : StaticSeoUrlContentRepositoryReaderInterface
- $deleter : StaticSeoUrlContentRepositoryDeleterInterface
Return values
mixed —deleteStaticSeoUrlContentById()
Deletes a StaticSeoUrlContent by the given staticSeoUrlContent ID.
public
deleteStaticSeoUrlContentById(IdType $staticSeoUrlContentId) : StaticSeoUrlContentRepositoryInterface
Parameters
- $staticSeoUrlContentId : IdType
Return values
StaticSeoUrlContentRepositoryInterface —Same instance for method chaining.
getById()
Returns a StaticSeoUrlContent instance by the given staticSeoUrlContent ID.
public
getById(IdType $staticSeoUrlContentId) : StaticSeoUrlContentInterface
Parameters
- $staticSeoUrlContentId : IdType
Return values
StaticSeoUrlContentInterface —getByStaticSeoUrlId()
Returns a StaticSeoUrlContentCollection instance by the given staticSeoUrl ID.
public
getByStaticSeoUrlId(IdType $staticSeoUrlId) : StaticSeoUrlContentCollection
Parameters
- $staticSeoUrlId : IdType
Return values
StaticSeoUrlContentCollection —store()
Stores a StaticSeoUrlContent to the database.
public
store(IdType $staticSeoUrlId, StaticSeoUrlContentInterface $staticSeoUrlContent) : StaticSeoUrlContentRepositoryInterface
Parameters
- $staticSeoUrlId : IdType
- $staticSeoUrlContent : StaticSeoUrlContentInterface
Return values
StaticSeoUrlContentRepositoryInterface —Same instance for method chaining.