Skip to content

Instantly share code, notes, and snippets.

View laoneo's full-sized avatar
🎯
Focus on fixing stuff

Allon Moritz laoneo

🎯
Focus on fixing stuff
View GitHub Profile
public function countItems() {
if($this instanceof WorkflowServiceInterface) {
return $this->getWFcountItems();
}
// Normal code here
}
public function build(&$query)
{
$this->updateEventParent($query);
return parent::build($query);
}
public function parse(&$segments)
{
$this->updateEventParent();