Skip to content

Commit

Permalink
Add phtml reneder dynamic properties fix (#319)
Browse files Browse the repository at this point in the history
  • Loading branch information
lukiqs authored Sep 12, 2023
1 parent a501707 commit 9cc81a6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/Ouzo/Core/View/PhtmlRenderer.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,11 @@ public function __set(string $name, $value): void
$this->attributes[$name] = $value;
}

public function __isset(string $name): bool
{
return isset($this->attributes[$name]);
}

public function getViewPath(): string
{
return $this->viewPath;
Expand Down

0 comments on commit 9cc81a6

Please sign in to comment.