diff --git a/web/modules/custom/example/src/Builder/PostBuilder.php b/web/modules/custom/example/src/Builder/PostBuilder.php index 389e04b..d077e55 100644 --- a/web/modules/custom/example/src/Builder/PostBuilder.php +++ b/web/modules/custom/example/src/Builder/PostBuilder.php @@ -16,6 +16,10 @@ final class PostBuilder { return new self(); } + public function isNotPublished(): self { + return $this; + } + public function isPublished(): self { return $this; }