Skip to content

Commit

Permalink
Add final annotations on Core services
Browse files Browse the repository at this point in the history
  • Loading branch information
pspanja committed Nov 28, 2019
1 parent f02e7e5 commit c221517
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/Core/Site/FilterService.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,12 @@
use Netgen\EzPlatformSiteApi\API\Settings as BaseSettings;

/**
* @final
*
* @internal
*
* Hint against API interface instead of this service:
*
* @see \Netgen\EzPlatformSiteApi\API\FilterService
*/
class FilterService implements FilterServiceInterface
Expand Down
3 changes: 3 additions & 0 deletions lib/Core/Site/FindService.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,12 @@
use Netgen\EzPlatformSiteApi\API\Settings as BaseSettings;

/**
* @final
*
* @internal
*
* Hint against API interface instead of this service:
*
* @see \Netgen\EzPlatformSiteApi\API\FindService
*/
class FindService implements FindServiceInterface
Expand Down
3 changes: 3 additions & 0 deletions lib/Core/Site/LoadService.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,12 @@
use Netgen\EzPlatformSiteApi\Core\Site\Exceptions\TranslationNotMatchedException;

/**
* @final
*
* @internal
*
* Hint against API interface instead of this service:
*
* @see \Netgen\EzPlatformSiteApi\API\LoadService
*/
class LoadService implements LoadServiceInterface
Expand Down
3 changes: 3 additions & 0 deletions lib/Core/Site/RelationService.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,12 @@
use Netgen\EzPlatformSiteApi\Core\Traits\SearchResultExtractorTrait;

/**
* @final
*
* @internal
*
* Hint against API interface instead of this service:
*
* @see \Netgen\EzPlatformSiteApi\API\RelationService
*/
class RelationService implements RelationServiceInterface
Expand Down
1 change: 1 addition & 0 deletions lib/Core/Site/Settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
* @internal
*
* Hint against API abstract class instead of this service:
*
* @see \Netgen\EzPlatformSiteApi\API\Settings
*/
final class Settings extends BaseSettings
Expand Down
3 changes: 3 additions & 0 deletions lib/Core/Site/Site.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,12 @@
use Psr\Log\NullLogger;

/**
* @final
*
* @internal
*
* Hint against API interface instead of this service:
*
* @see \Netgen\EzPlatformSiteApi\API\Site
*/
class Site implements SiteInterface
Expand Down

0 comments on commit c221517

Please sign in to comment.