Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c516546b5d |
@@ -28,4 +28,12 @@ abstract class AbstractEntity implements EntityInterface {
|
|||||||
return $this->$name ?? "";
|
return $this->$name ?? "";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param string $name
|
||||||
|
* @return bool
|
||||||
|
*/
|
||||||
|
public function __isset(string $name): bool {
|
||||||
|
return isset($this->$name);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user