19declare(strict_types=1);
70 if ($this->provider_name_cache !==
'' && is_string($this->provider_name_cache)) {
73 $reflector = new \ReflectionClass($this);
75 $re =
"/.*[\\\|\\/](?P<provider>(Services|Modules)[\\\|\\/].*)[\\\|\\/]classes/m";
77 preg_match($re, str_replace(
"\\",
"/", $reflector->getFileName()), $matches);
79 $this->provider_name_cache = isset($matches[1]) ? is_string(
81 ) ? $matches[1] : self::class : self::class;
Class ResourceIdentification.
Class AbstractResourceStakeholder.
string $provider_name_cache
getConsumerNameForPresentation()
@inheritDoc
resourceHasBeenDeleted(ResourceIdentification $identification)
@inheritDoc
getFullyQualifiedClassName()
@inheritDoc
isResourceInUse(ResourceIdentification $identification)
@inheritDoc
getOwnerOfResource(ResourceIdentification $identification)
@inheritDoc
Interface ResourceStakeholder.