mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2026-01-12 01:56:55 +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