original_string: public function findByExtra( ExtraStructure $extra )
      {
          $rootId = $extra->rootParagraphId;
  
          return $this->createStructure( array(
              'rootId'    => $rootId,
              'extra'     => $extra,
              'rules'     => $this->getRuleMapper()
                                  ->findAllByRoot(
                                      $rootId,
                                      $this->getRuleOrder()
                                  ),
          ) );
      }
code: public function findByExtra( ExtraStructure $extra )
      {
          $rootId = $extra->rootParagraphId;
  
          return $this->createStructure( array(
              'rootId'    => $rootId,
              'extra'     => $extra,
              'rules'     => $this->getRuleMapper()
                                  ->findAllByRoot(
                                      $rootId,
                                      $this->getRuleOrder()
                                  ),
          ) );
      }
code_tokens: public function findByExtra ( ExtraStructure $ extra ) { $ rootId = $ extra -> rootParagraphId ; return $ this -> createStructure ( array ( 'rootId' => $ rootId , 'extra' => $ extra , 'rules' => $ this -> getRuleMapper ( ) -> findAllByRoot ( $ rootId , $ this -> getRuleOrder ( ) ) , ) ) ; }
docstring: Find a structure by its extra structure
  
  @param   int|array   $primaryKeys
  @return  Structure
docstring_tokens: Find a structure by its extra structure