StaticSeoUrlContentRepositoryReader

Implements \StaticSeoUrlContentRepositoryReaderInterface

Class StaticSeoUrlContentRepositoryReader

category

System

package

StaticSeoUrl

subpackage

Repositories

Methods

StaticSeoUrlContentRepositoryReader constructor.

__construct(\CI_DB_query_builder $db) 

Arguments

$db

\CI_DB_query_builder

Returns a StaticSeoUrlContent instance by the given staticSeoUrlContent ID.

getById(\IdType $staticSeoUrlContentId) : \StaticSeoUrlContentInterface
Throws
\InvalidArgumentException
\UnexpectedValueException

Arguments

$staticSeoUrlContentId

\IdType

Response

\StaticSeoUrlContentInterface

Returns a StaticSeoUrlContentCollection for the given StaticSeoUrl ID.

getByStaticSeoUrlId(\IdType $staticSeoUrlId) : \StaticSeoUrlContentCollection
Throws
\InvalidArgumentException
\UnexpectedValueException

Arguments

$staticSeoUrlId

\IdType

Response

\StaticSeoUrlContentCollection

All staticSeoUrlContents found by the staticSeoUrlId ID as a StaticSeoUrlContentCollection.

Properties