mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-11-09 13:46:30 +00:00
Implemented hasClass
This commit is contained in:
@@ -36,4 +36,12 @@ trait ClassAttribut
|
||||
{
|
||||
return $this->class;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return bool
|
||||
*/
|
||||
public function hasClass(): bool
|
||||
{
|
||||
return isset($this->class);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user