code: public function create($type = null, $expression = null, $active = true)
      {
          $class = $this->getClass();
  
          /** @var ScheduleInterface $schedule */
          $schedule = new $class;
          $schedule->setType($type);
          $schedule->setExpression($expression);
          $schedule->setIsActive($active == null ? true : $active);
  
          return $schedule;
      }
docs: {@inheritDoc}