original_string: public static function findByName($features, $featureName, $permissive = false) {
          if ($permissive)
              $featureName = self::_getPermissiveName($featureName);
          return fphp\Helper\_Array::findByKey($features, $permissive ? "getPermissiveName" : "getName", $featureName);
      }
code: public static function findByName($features, $featureName, $permissive = false) {
          if ($permissive)
              $featureName = self::_getPermissiveName($featureName);
          return fphp\Helper\_Array::findByKey($features, $permissive ? "getPermissiveName" : "getName", $featureName);
      }
code_tokens: public static function findByName ( $ features , $ featureName , $ permissive = false ) { if ( $ permissive ) $ featureName = self :: _getPermissiveName ( $ featureName ) ; return fphp \ Helper \ _Array :: findByKey ( $ features , $ permissive ? "getPermissiveName" : "getName" , $ featureName ) ; }
docstring: Finds a feature by its name in a list of features.
  Permissive search ignores case and substitutes hyphens.
  @param Feature[] $features
  @param string $featureName
  @param bool $permissive
  @return Feature
docstring_tokens: Finds a feature by its name in a list of features . Permissive search ignores case and substitutes hyphens .