Implemented hasClass

This commit is contained in:
Kevin Frantz committed 2019-02-03 13:13:11 +01:00
1 parent d00d70f440
commit 11d8ac9927
3 files changed
+15

No files matched your search

@@ -36,4 +36,12 @@ trait ClassAttribut
{
return $this->class;
}
/**
* @return bool
*/
public function hasClass(): bool
{
return isset($this->class);
}
}