/** * Finds operations * * @param Status $status status to filter upon * * @return OperationInterface[] */ public function findByStatus(Status $status) { return $this->findBy(array("status" => $status->getValue())); }
/** * @param mixed $status */ public function setStatus(Status $status) { $this->status = $status->getValue(); }