original_string: protected function getOptions()
      {
          $options = [];
  
          $allExtensionOption = [
              'class' => 'alltests',
              'value' => \Tx_Phpunit_Testable::ALL_EXTENSIONS,
          ];
          if ($this->isOptionSelected(\Tx_Phpunit_Testable::ALL_EXTENSIONS)) {
              $allExtensionOption['selected'] = 'selected';
          }
          $options[] = $allExtensionOption;
  
          /** @var \Tx_Phpunit_Testable $testable */
          foreach ($this->testFinder->getTestablesForEverything() as $testable) {
              $extensionOption = [
                  'style' => $this->createIconStyle($testable->getKey()),
                  'value' => $testable->getKey(),
              ];
              if ($this->isOptionSelected($testable->getKey())) {
                  $extensionOption['selected'] = 'selected';
              }
  
              $options[] = $extensionOption;
          }
  
          return $options;
      }
code: protected function getOptions()
      {
          $options = [];
  
          $allExtensionOption = [
              'class' => 'alltests',
              'value' => \Tx_Phpunit_Testable::ALL_EXTENSIONS,
          ];
          if ($this->isOptionSelected(\Tx_Phpunit_Testable::ALL_EXTENSIONS)) {
              $allExtensionOption['selected'] = 'selected';
          }
          $options[] = $allExtensionOption;
  
          /** @var \Tx_Phpunit_Testable $testable */
          foreach ($this->testFinder->getTestablesForEverything() as $testable) {
              $extensionOption = [
                  'style' => $this->createIconStyle($testable->getKey()),
                  'value' => $testable->getKey(),
              ];
              if ($this->isOptionSelected($testable->getKey())) {
                  $extensionOption['selected'] = 'selected';
              }
  
              $options[] = $extensionOption;
          }
  
          return $options;
      }
code_tokens: protected function getOptions ( ) { $ options = [ ] ; $ allExtensionOption = [ 'class' => 'alltests' , 'value' => \ Tx_Phpunit_Testable :: ALL_EXTENSIONS , ] ; if ( $ this -> isOptionSelected ( \ Tx_Phpunit_Testable :: ALL_EXTENSIONS ) ) { $ allExtensionOption [ 'selected' ] = 'selected' ; } $ options [ ] = $ allExtensionOption ; /** @var \Tx_Phpunit_Testable $testable */ foreach ( $ this -> testFinder -> getTestablesForEverything ( ) as $ testable ) { $ extensionOption = [ 'style' => $ this -> createIconStyle ( $ testable -> getKey ( ) ) , 'value' => $ testable -> getKey ( ) , ] ; if ( $ this -> isOptionSelected ( $ testable -> getKey ( ) ) ) { $ extensionOption [ 'selected' ] = 'selected' ; } $ options [ ] = $ extensionOption ; } return $ options ; }
docstring: Gets all options rendered as an array
  
  @return array[] all options, will not be empty
docstring_tokens: Gets all options rendered as an array