lots of improvements
This commit is contained in:
@@ -30,6 +30,15 @@ interface ResourceServiceConfigureInterface extends ResourceServiceMutateInterfa
|
||||
*/
|
||||
public function setLocation(ResourceServiceLocationInterface $value): self;
|
||||
|
||||
/**
|
||||
* Gets a fresh instance of the location/configuration of this service
|
||||
*
|
||||
* @since 2025.05.01
|
||||
*
|
||||
* @return ResourceServiceLocationInterface
|
||||
*/
|
||||
public function freshLocation(string|null $type, array $data = []): ResourceServiceLocationInterface;
|
||||
|
||||
/**
|
||||
* Sets the identity used for this service
|
||||
*
|
||||
@@ -41,4 +50,13 @@ interface ResourceServiceConfigureInterface extends ResourceServiceMutateInterfa
|
||||
*/
|
||||
public function setIdentity(ResourceServiceIdentityInterface $value): self;
|
||||
|
||||
/**
|
||||
* Gets a fresh instance of the identity used for this service
|
||||
*
|
||||
* @since 2025.05.01
|
||||
*
|
||||
* @return ResourceServiceIdentityInterface
|
||||
*/
|
||||
public function freshIdentity(string|null $type, array $data = []): ResourceServiceIdentityInterface;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user