Lines Matching refs:startsWith
47 protected $startsWith;
61 * @param null|string $startsWith
65 public function __construct(string $attribute, ?string $startsWith = null, ?string $endsWith = null, string ...$contains)
68 $this->startsWith = $startsWith;
80 return $this->startsWith;
91 $this->startsWith = $value;
147 if ($this->startsWith === null && $this->endsWith === null && count($this->contains) === 0) {
152 if ($this->startsWith !== null) {
153 $substrings->addChild(Asn1::context(0, Asn1::octetString($this->startsWith)));
184 if ($this->startsWith !== null) {
185 $startsWith = Attribute::escape($this->startsWith);
186 $value = ($value === '' ? $startsWith . '*' : $startsWith) . $value;
214 [$startsWith, $endsWith, $contains] = self::parseSubstrings($substrings);
216 return new self($attrType->getValue(), $startsWith, $endsWith, ...$contains);
225 $startsWith = null;
236 if ($startsWith !== null) {
239 $startsWith = $substring;
255 ($startsWith !== null) ? $startsWith->getValue() : null,