mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-09-13 21:57:16 +02: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