diff --git a/src/PrintNode/Entity.php b/src/PrintNode/Entity.php index 8782bea..25337e0 100755 --- a/src/PrintNode/Entity.php +++ b/src/PrintNode/Entity.php @@ -21,6 +21,18 @@ public function __construct(Client $parentClient) { } + /** + * Check if property isset on entity + * @param mixed $propertyName + * @return boolean + */ + public function __isset($propertyName) + { + + return isset($this->$propertyName); + + } + /** * Set property on entity * @param mixed $propertyName @@ -132,4 +144,4 @@ public function __toString() { } -} \ No newline at end of file +}