original_string: private function composeFileName($name)
      {
          if (is_null($name)) {
              return $name;
          }
  
          $ext = $this->determineExtension();
          $withExtension = $this->createName($name, $ext);
  
          list($found, $fileName) = $this->searchFor($name, $withExtension);
  
          return $found ? $fileName : $name;
      }
code: private function composeFileName($name)
      {
          if (is_null($name)) {
              return $name;
          }
  
          $ext = $this->determineExtension();
          $withExtension = $this->createName($name, $ext);
  
          list($found, $fileName) = $this->searchFor($name, $withExtension);
  
          return $found ? $fileName : $name;
      }
code_tokens: private function composeFileName ( $ name ) { if ( is_null ( $ name ) ) { return $ name ; } $ ext = $ this -> determineExtension ( ) ; $ withExtension = $ this -> createName ( $ name , $ ext ) ; list ( $ found , $ fileName ) = $ this -> searchFor ( $ name , $ withExtension ) ; return $ found ? $ fileName : $ name ; }
docstring: Compose the filename with existing paths and return when match
  
  If no match is found the $name is returned as is;
  If no extension is given it will add it from driver class map;
  By default it will try to find <$name>.php file
  
  @param  string $name
  
  @return string
docstring_tokens: Compose the filename with existing paths and return when match