original_string: public function value($name, $default = null)
      {
          if (! is_null($value = $this->valueFromOld($name))) {
              return $value;
          }
  
          if (! is_null($value = $this->valueFromModel($name))) {
              return $value;
          }
          return $default;
      }
code: public function value($name, $default = null)
      {
          if (! is_null($value = $this->valueFromOld($name))) {
              return $value;
          }
  
          if (! is_null($value = $this->valueFromModel($name))) {
              return $value;
          }
          return $default;
      }
code_tokens: public function value ( $ name , $ default = null ) { if ( ! is_null ( $ value = $ this -> valueFromOld ( $ name ) ) ) { return $ value ; } if ( ! is_null ( $ value = $ this -> valueFromModel ( $ name ) ) ) { return $ value ; } return $ default ; }
docstring: Get the value to use in an input field.
  
  @param  string $name
  @param  mixed|null $default
  @return mixed|null
docstring_tokens: Get the value to use in an input field .