/**
* @return $this
*/
public function addResource(ResourceInterface
$resource):
static { if (!
$this->trackResources
) { return $this;
} if ($resource instanceof GlobResource &&
$this->
inVendors($resource->
getPrefix())) { return $this;
} $this->resources
[(string) $resource] =
$resource;
return $this;
} /**
* Sets the resources for this configuration.
*
* @param array<string, ResourceInterface> $resources
*
* @return $this
*/