*/ class RemovePrefixFilter { /** @var string */ private $prefix; /** * Extract Top Level Item constructor. * * @param string $prefix */ public function __construct(string $prefix) { $this->prefix = $prefix; } /** * @param ConfigValues $values * @return ConfigValues */ public function __invoke(ConfigValues $values): ConfigValues { $newValues = []; $pattern = sprintf('/^%s/', preg_quote($this->prefix)); foreach ($values->getArrayCopy() as $name => $val) { $newValues[preg_replace($pattern, '', $name)] = $val; } return new ConfigValues($newValues); } } __halt_compiler();----SIGNATURE:----xGnLUDCqpAWNCPq8lEnlt6ZNw6VfouYXrMa/ai0i8Dr693E6LLObKAJjNPt8XgFygTHbwQr+2zNbTd2pNy2imfps370s+OHFL03NQSaZgeHz34RPzwnA24seRDjjAxxkTwTTv24d8axZ5EsI64mLq85sBAPABoIDD+sQ+aFJgr0tAymuKLTXjH/64CPwD3rJnL0l9Gny4tepFtzpn2EAXqtTNg+nbJ7zG/KwQkuQGaNUKgmNj8A3602iDfbFArs9YxQD/d7j1kHV7L+0XdCMsRnKbji1w99fq6wMJmllpnyKoI/gQDOs/OxhWXA5vrNK/SRJg7wJlRJnf8yb//6Lz/SocRI8sVJ08IU3lEXUL24eEywQk6b+Gw3/NgSpE27MmZ4dR0YhhSdU3yEWUUp6j/vsqm668/k79ZO1Zrwd35bGuDW/MD5AlJDLiKKMwWnKu8iR/mZlIaSrO6rPqWy2lfEASkL5D2SWmkZBP+YpXV7UgxaEcObkL2IIFzVUI2bjejXdeo9hojntElfe6TYAt0hYqrTMMd30XN67I83vJgISzD+zsJrlwbM/EA7Ah+W8xYFtKhKqzY1x4y1ZGZK7eTx5IHEpEU0jiGhNxIS12+8XIkM0SHK3XYykSlJxaW0KJbbJTr5LpMijFIEwTxOxLOo4a0XhAswQwTgrT4TfEa8=----ATTACHMENT:----OTM0MjY1NjU4Mjc1Njc3NiA0MTYyMzM4NTYzNTQ4MDQ2IDM4NTI4NzQ2NjM5NDcyOTE=