Lines Matching refs:endsWith
52 protected $endsWith;
62 * @param null|string $endsWith
65 public function __construct(string $attribute, ?string $startsWith = null, ?string $endsWith = null, string ...$contains)
69 $this->endsWith = $endsWith;
103 return $this->endsWith;
114 $this->endsWith = $value;
147 if ($this->startsWith === null && $this->endsWith === null && count($this->contains) === 0) {
160 if ($this->endsWith !== null) {
161 $substrings->addChild(Asn1::context(2, Asn1::octetString($this->endsWith)));
188 if ($this->endsWith !== null) {
189 $endsWith = Attribute::escape($this->endsWith);
190 $value = $value . ($value === '' ? '*' . $endsWith : $endsWith);
214 [$startsWith, $endsWith, $contains] = self::parseSubstrings($substrings);
216 return new self($attrType->getValue(), $startsWith, $endsWith, ...$contains);
226 $endsWith = null;
244 if ($endsWith !== null) {
247 $endsWith = $substring;
256 ($endsWith !== null) ? $endsWith->getValue() : null,