original_string: public function run(SmileCron $smileCron)
      {
          $now = new \DateTime('now');
          $smileCron->setStarted($now);
          $this->getEntityManager()->persist($smileCron);
          $this->getEntityManager()->flush();
      }
code: public function run(SmileCron $smileCron)
      {
          $now = new \DateTime('now');
          $smileCron->setStarted($now);
          $this->getEntityManager()->persist($smileCron);
          $this->getEntityManager()->flush();
      }
code_tokens: public function run ( SmileCron $ smileCron ) { $ now = new \ DateTime ( 'now' ) ; $ smileCron -> setStarted ( $ now ) ; $ this -> getEntityManager ( ) -> persist ( $ smileCron ) ; $ this -> getEntityManager ( ) -> flush ( ) ; }
docstring: Run cron command
  
  @param SmileCron $smileCron cron command
docstring_tokens: Run cron command