diff options
-rw-r--r-- | src/Presenter/ServicePresenter.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/Presenter/ServicePresenter.php b/src/Presenter/ServicePresenter.php index f5b1e61..e3117ed 100644 --- a/src/Presenter/ServicePresenter.php +++ b/src/Presenter/ServicePresenter.php @@ -44,6 +44,15 @@ final class ServicePresenter { } /** + * @param \EPGService\Environments\ServiceEnvironment $environment + * + * @return \EPGService\Presenter\ServicePresenter + */ + public static function create(ServiceEnvironment $environment): ServicePresenter { + return new ServicePresenter($environment); + } + + /** * @return \EPGService\Entities\CategoryEntity[] * * @throws \GuzzleHttp\Exception\GuzzleException |