/** * Sets the WorkflowState of this internship. * * @param WorkflowState $state */ public function setState(WorkflowState $state) { $this->state = $state->getClassName(); }