Class StaticSeoUrlRepository

Class StaticSeoUrlRepository

StaticSeoUrlRepository implements StaticSeoUrlRepositoryInterface

Methods summary

public __construct( StaticSeoUrlRepositoryWriterInterface $writer, StaticSeoUrlRepositoryReaderInterface $reader, StaticSeoUrlRepositoryDeleterInterface $deleter, StaticSeoUrlContentRepositoryInterface $staticSeoUrlContentRepository )

StaticSeoUrlRepository constructor.

public getAll( void ) : StaticSeoUrlCollection

Returns a StaticSeoUrlCollection with all existing StaticSeoUrl objects.

public getById( IdType $staticSeoUrlId ) : StaticSeoUrlInterface

Returns a StaticSeoUrl instance by the given staticSeoUrl ID.

public store( StaticSeoUrlInterface $staticSeoUrl ) : StaticSeoUrlRepositoryInterface

Stores a StaticSeoUrl to the database.

public deleteStaticSeoUrlById( IdType $staticSeoUrlId ) : StaticSeoUrlRepositoryInterface

Deletes a StaticSeoUrl by the given staticSeoUrl ID.

protected _getStaticSeoUrlContentCollection( IdType $staticSeoUrlId ) : StaticSeoUrlContentCollection

Returns a StaticSeoUrlContentCollection with all existing StaticSeoUrlContent objects by the given staticSeoUrl ID.

Properties summary