This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public function countItems() { | |
if($this instanceof WorkflowServiceInterface) { | |
return $this->getWFcountItems(); | |
} | |
// Normal code here | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public function build(&$query) | |
{ | |
$this->updateEventParent($query); | |
return parent::build($query); | |
} | |
public function parse(&$segments) | |
{ | |
$this->updateEventParent(); |