Namespace:
AppUtils
Boolean value objects with optional one-way "sticky" semantics.
File: src/Value.php
Empty abstract base class for all value types.
File: src/Value/Bool.php
Extends: Value
Mutable wrapper around a boolean.
public function __construct(bool $value = false)
public function set(bool $value): Value_Bool
public function get(): bool
public function isTrue(): bool
public function isFalse(): boolFile: src/Value/Bool/True.php
Extends: Value_Bool
Sticky true: starts as false. Once set to true, subsequent calls to set(false) are silently ignored.
public function set(bool $value): Value_Bool // only transitions false → trueFile: src/Value/Bool/False.php
Extends: Value_Bool
Sticky false: starts as true. Once set to false, subsequent calls to set(true) are silently ignored.
public function __construct(bool $value = true)
public function set(bool $value): Value_Bool // only transitions true → falseDetects whether a string contains Lorem Ipsum placeholder text.
File: src/LipsumHelper.php
Static entry point.
public static function containsLipsum(string $subject): LipsumDetectorFile: src/LipsumHelper/LipsumDetector.php
Performs word-level matching against known lipsum vocabulary with a configurable minimum-word threshold.
public function __construct(string $subject)
public function setMinWords(int $min): self
public function isDetected(): bool
public function getDetectedWords(): array // string[]
public function countDetectedWords(): int