public function add(Workflow $workflow, $className) { $this->workflows[] = array($workflow, $className); }