Skip to content

Commit 7275c23

Browse files
committed
🧑‍💻 Add LoomPanel::hasPath() method
1 parent d2e9cf3 commit 7275c23

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

packages/core/src/LoomPanel.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,11 @@ public function hasId(): bool
3131
return isset($this->id);
3232
}
3333

34+
public function hasPath(): bool
35+
{
36+
return ! empty($this->path);
37+
}
38+
3439
#[Override]
3540
public static function make(?array $options = null): static
3641
{

0 commit comments

Comments
 (0)