original_string: protected function getDropdownValuesFromSource($source)
      {
          if (is_a($source, Enum::class, true)) {
              /** @var Enum $source */
              return array_map(
                  function ($value) { return (string) $value; },
                  $source::values()
              );
          }
  
          if (is_a($source, DropdownStrategyInterface::class, true)) {
              /** @var DropdownStrategyInterface $source */
              $source = app($source);
              return $source->values();
          }
  
          return false;
      }
code: protected function getDropdownValuesFromSource($source)
      {
          if (is_a($source, Enum::class, true)) {
              /** @var Enum $source */
              return array_map(
                  function ($value) { return (string) $value; },
                  $source::values()
              );
          }
  
          if (is_a($source, DropdownStrategyInterface::class, true)) {
              /** @var DropdownStrategyInterface $source */
              $source = app($source);
              return $source->values();
          }
  
          return false;
      }
code_tokens: protected function getDropdownValuesFromSource ( $ source ) { if ( is_a ( $ source , Enum :: class , true ) ) { /** @var Enum $source */ return array_map ( function ( $ value ) { return ( string ) $ value ; } , $ source :: values ( ) ) ; } if ( is_a ( $ source , DropdownStrategyInterface :: class , true ) ) { /** @var DropdownStrategyInterface $source */ $ source = app ( $ source ) ; return $ source -> values ( ) ; } return false ; }
docstring: Returns values from a source FQN, if possible.
  
  @param string $source
  @return string[]|false
docstring_tokens: Returns values from a source FQN if possible .