StaticSeoUrlWriteService
in package
implements
StaticSeoUrlWriteServiceInterface
Class StaticSeoUrlWriteService
Tags
Interfaces, Classes and Traits
- StaticSeoUrlWriteServiceInterface
- Interface StaticSeoUrlWriteServiceInterface
Table of Contents
- $staticSeoUrlRepository : StaticSeoUrlRepositoryInterface
- __construct() : mixed
- StaticSeoUrlWriteService constructor.
- deleteStaticSeoUrlById() : StaticSeoUrlWriteServiceInterface
- Deletes a StaticSeoUrl by the given static seo url ID.
- saveStaticSeoUrl() : StaticSeoUrlInterface
- Saves a static seo url to the database and delegates to child-repositories.
Properties
$staticSeoUrlRepository
protected
StaticSeoUrlRepositoryInterface
$staticSeoUrlRepository
Methods
__construct()
StaticSeoUrlWriteService constructor.
public
__construct(StaticSeoUrlRepositoryInterface $staticSeoUrlRepository) : mixed
Parameters
- $staticSeoUrlRepository : StaticSeoUrlRepositoryInterface
Return values
mixed —deleteStaticSeoUrlById()
Deletes a StaticSeoUrl by the given static seo url ID.
public
deleteStaticSeoUrlById(IdType $staticSeoUrlId) : StaticSeoUrlWriteServiceInterface
Parameters
- $staticSeoUrlId : IdType
Return values
StaticSeoUrlWriteServiceInterface —Same instance for method chaining.
saveStaticSeoUrl()
Saves a static seo url to the database and delegates to child-repositories.
public
saveStaticSeoUrl(StaticSeoUrlInterface $staticSeoUrl) : StaticSeoUrlInterface
Parameters
- $staticSeoUrl : StaticSeoUrlInterface
Return values
StaticSeoUrlInterface —The StaticSeoUrl instance.