original_string: private function runIfNotCached($variableName, callable $function)
      {
          if (null === $this->{$variableName}) {
              // Only assign that don't returns
              if (null !== $result = $function()) {
                  $this->{$variableName} = $result;
              }
          }
      }
code: private function runIfNotCached($variableName, callable $function)
      {
          if (null === $this->{$variableName}) {
              // Only assign that don't returns
              if (null !== $result = $function()) {
                  $this->{$variableName} = $result;
              }
          }
      }
code_tokens: private function runIfNotCached ( $ variableName , callable $ function ) { if ( null === $ this -> { $ variableName } ) { // Only assign that don't returns if ( null !== $ result = $ function ( ) ) { $ this -> { $ variableName } = $ result ; } } }
docstring: Check if a variable is empty and run function to
  
  @param $variableName
  @param callable     $function
docstring_tokens: Check if a variable is empty and run function to