StaticSeoUrlWriteService

Implements \StaticSeoUrlWriteServiceInterface

Class StaticSeoUrlWriteService

category

System

package

StaticSeoUrl

Methods

StaticSeoUrlWriteService constructor.

__construct(\StaticSeoUrlRepositoryInterface $staticSeoUrlRepository) 

Arguments

$staticSeoUrlRepository

\StaticSeoUrlRepositoryInterface

Deletes a StaticSeoUrl by the given static seo url ID.

deleteStaticSeoUrlById(\IdType $staticSeoUrlId) : \StaticSeoUrlWriteServiceInterface

Arguments

$staticSeoUrlId

\IdType

Response

\StaticSeoUrlWriteServiceInterface

Same instance for method chaining.

Saves a static seo url to the database and delegates to child-repositories.

saveStaticSeoUrl(\StaticSeoUrlInterface $staticSeoUrl) : \StaticSeoUrlInterface

Arguments

$staticSeoUrl

\StaticSeoUrlInterface

Response

\StaticSeoUrlInterface

The StaticSeoUrl instance.

Properties

staticSeoUrlRepository

staticSeoUrlRepository : \StaticSeoUrlRepositoryInterface