StaticSeoUrlRepository
in package
implements
StaticSeoUrlRepositoryInterface
Class StaticSeoUrlRepository
Tags
Interfaces, Classes and Traits
- StaticSeoUrlRepositoryInterface
- Interface StaticSeoUrlRepositoryInterface
Table of Contents
- $deleter : StaticSeoUrlRepositoryDeleterInterface
- $reader : StaticSeoUrlRepositoryReaderInterface
- $staticSeoUrlContentRepository : StaticSeoUrlContentRepositoryInterface
- $writer : StaticSeoUrlRepositoryWriterInterface
- __construct() : mixed
- StaticSeoUrlRepository constructor.
- deleteStaticSeoUrlById() : StaticSeoUrlRepositoryInterface
- Deletes a StaticSeoUrl by the given staticSeoUrl ID.
- getAll() : StaticSeoUrlCollection
- Returns a StaticSeoUrlCollection with all existing StaticSeoUrl objects.
- getById() : StaticSeoUrlInterface
- Returns a StaticSeoUrl instance by the given staticSeoUrl ID.
- store() : StaticSeoUrlRepositoryInterface
- Stores a StaticSeoUrl to the database.
- _getStaticSeoUrlContentCollection() : StaticSeoUrlContentCollection
- Returns a StaticSeoUrlContentCollection with all existing StaticSeoUrlContent objects by the given staticSeoUrl ID.
Properties
$deleter
protected
StaticSeoUrlRepositoryDeleterInterface
$deleter
$reader
protected
StaticSeoUrlRepositoryReaderInterface
$reader
$staticSeoUrlContentRepository
protected
StaticSeoUrlContentRepositoryInterface
$staticSeoUrlContentRepository
$writer
protected
StaticSeoUrlRepositoryWriterInterface
$writer
Methods
__construct()
StaticSeoUrlRepository constructor.
public
__construct(StaticSeoUrlRepositoryWriterInterface $writer, StaticSeoUrlRepositoryReaderInterface $reader, StaticSeoUrlRepositoryDeleterInterface $deleter, StaticSeoUrlContentRepositoryInterface $staticSeoUrlContentRepository) : mixed
Parameters
- $writer : StaticSeoUrlRepositoryWriterInterface
- $reader : StaticSeoUrlRepositoryReaderInterface
- $deleter : StaticSeoUrlRepositoryDeleterInterface
- $staticSeoUrlContentRepository : StaticSeoUrlContentRepositoryInterface
Return values
mixed —deleteStaticSeoUrlById()
Deletes a StaticSeoUrl by the given staticSeoUrl ID.
public
deleteStaticSeoUrlById(IdType $staticSeoUrlId) : StaticSeoUrlRepositoryInterface
Parameters
- $staticSeoUrlId : IdType
-
ID of the staticSeoUrl to delete.
Tags
Return values
StaticSeoUrlRepositoryInterface —Same instance for method chaining.
getAll()
Returns a StaticSeoUrlCollection with all existing StaticSeoUrl objects.
public
getAll() : StaticSeoUrlCollection
Return values
StaticSeoUrlCollection —getById()
Returns a StaticSeoUrl instance by the given staticSeoUrl ID.
public
getById(IdType $staticSeoUrlId) : StaticSeoUrlInterface
Parameters
- $staticSeoUrlId : IdType
-
ID of the staticSeoUrl to get.
Return values
StaticSeoUrlInterface —store()
Stores a StaticSeoUrl to the database.
public
store(StaticSeoUrlInterface $staticSeoUrl) : StaticSeoUrlRepositoryInterface
Parameters
- $staticSeoUrl : StaticSeoUrlInterface
-
StaticSeoUrl to store.
Tags
Return values
StaticSeoUrlRepositoryInterface —Same instance for method chaining.
_getStaticSeoUrlContentCollection()
Returns a StaticSeoUrlContentCollection with all existing StaticSeoUrlContent objects by the given staticSeoUrl ID.
protected
_getStaticSeoUrlContentCollection(IdType $staticSeoUrlId) : StaticSeoUrlContentCollection
Parameters
- $staticSeoUrlId : IdType
-
ID of the staticSeoUrl to fetch the staticSeoUrlContent collection from.