original_string: public function stickSubject(Subject $subject)
      {
          $this->om->startFlushSuite();
          $subject->setIsSticked(true);
          $this->om->persist($subject);
          $this->dispatch(new StickSubjectEvent($subject));
          $this->om->endFlushSuite();
      }
code: public function stickSubject(Subject $subject)
      {
          $this->om->startFlushSuite();
          $subject->setIsSticked(true);
          $this->om->persist($subject);
          $this->dispatch(new StickSubjectEvent($subject));
          $this->om->endFlushSuite();
      }
code_tokens: public function stickSubject ( Subject $ subject ) { $ this -> om -> startFlushSuite ( ) ; $ subject -> setIsSticked ( true ) ; $ this -> om -> persist ( $ subject ) ; $ this -> dispatch ( new StickSubjectEvent ( $ subject ) ) ; $ this -> om -> endFlushSuite ( ) ; }
docstring: Stick a subject at the top of the subject list.
  
  @param \Claroline\ForumBundle\Entity\Subject $subject
docstring_tokens: Stick a subject at the top of the subject list .