resource provider and service improvements
This commit is contained in:
@@ -0,0 +1,44 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
/**
|
||||
* SPDX-FileCopyrightText: Sebastian Krupinski <krupinski01@gmail.com>
|
||||
* SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
*/
|
||||
|
||||
namespace KTXF\Resource\Provider;
|
||||
|
||||
/**
|
||||
* Resource Service Configurable Interface
|
||||
*
|
||||
* Extends base service interface with setter methods for mutable properties.
|
||||
* Used for service configuration and updates.
|
||||
*
|
||||
* @since 2025.05.01
|
||||
*/
|
||||
interface ResourceServiceConfigureInterface extends ResourceServiceMutateInterface {
|
||||
|
||||
/**
|
||||
* Sets the location/configuration of this service
|
||||
*
|
||||
* @since 2025.05.01
|
||||
*
|
||||
* @param ResourceServiceLocationInterface $value Service location/configuration
|
||||
*
|
||||
* @return self
|
||||
*/
|
||||
public function setLocation(ResourceServiceLocationInterface $value): self;
|
||||
|
||||
/**
|
||||
* Sets the identity used for this service
|
||||
*
|
||||
* @since 2025.05.01
|
||||
*
|
||||
* @param ResourceServiceIdentityInterface $value Service identity
|
||||
*
|
||||
* @return self
|
||||
*/
|
||||
public function setIdentity(ResourceServiceIdentityInterface $value): self;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user