public function create(UserInterface $user)
    {
        $entity = static::ENTITY_CLASSNAME;

        $reminder = new $entity($user);

        $this->save($reminder);

        return $reminder;
    }
public function create(UserInterface $user)
    {
        $entity = static::ENTITY_CLASSNAME;

        $reminder = new $entity($user);

        $this->save($reminder);

        return $reminder;
    }
public function create ( UserInterface $ user ) { $ entity = static :: ENTITY_CLASSNAME ; $ reminder = new $ entity ( $ user ) ; $ this -> save ( $ reminder ) ; return $ reminder ; }
Create a new reminder record and code.

@param \Digbang\Security\Users\User $user

@return Reminder
Create a new reminder record and code .