original_string: public function set(CheckerInterface $checker): self
      {
          $this->checkers[$checker->getId()] = $checker;
  
          return $this;
      }
code: public function set(CheckerInterface $checker): self
      {
          $this->checkers[$checker->getId()] = $checker;
  
          return $this;
      }
code_tokens: public function set ( CheckerInterface $ checker ) : self { $ this -> checkers [ $ checker -> getId ( ) ] = $ checker ; return $ this ; }
docstring: Add or replace a checker instance to the collection at given id.
  
  @param CheckerInterface $checker The checker instance.
  
  @return CheckerCollection
docstring_tokens: Add or replace a checker instance to the collection at given id .