public function find(?string $documentName = null) : self
    {
        $this->setDocumentName($documentName);
        $this->query['type'] = Query::TYPE_FIND;

        return $this;
    }
public function find(?string $documentName = null) : self
    {
        $this->setDocumentName($documentName);
        $this->query['type'] = Query::TYPE_FIND;

        return $this;
    }
public function find ( ? string $ documentName = null ) : self { $ this -> setDocumentName ( $ documentName ) ; $ this -> query [ 'type' ] = Query :: TYPE_FIND ; return $ this ; }
Change the query type to find and optionally set and change the class being queried.
Change the query type to find and optionally set and change the class being queried .