original_string: public function find($id, $lockMode = \Doctrine\ODM\MongoDB\LockMode::NONE, $lockVersion = null, array $options = [])
      {
          return $this->assertEntity(parent::find($id, $lockMode, $lockVersion), $options);
      }
code: public function find($id, $lockMode = \Doctrine\ODM\MongoDB\LockMode::NONE, $lockVersion = null, array $options = [])
      {
          return $this->assertEntity(parent::find($id, $lockMode, $lockVersion), $options);
      }
code_tokens: public function find ( $ id , $ lockMode = \ Doctrine \ ODM \ MongoDB \ LockMode :: NONE , $ lockVersion = null , array $ options = [ ] ) { return $ this -> assertEntity ( parent :: find ( $ id , $ lockMode , $ lockVersion ) , $ options ) ; }
docstring: Finds a document by its identifier
  
  @param string|object $id The identifier
  @param int $lockMode
  @param int $lockVersion
  @param array $options
  @throws Mapping\MappingException
  @throws LockException
  @throws UserDeactivatedException
  @return null | UserInterface
docstring_tokens: Finds a document by its identifier