original_string: function get($name, $default=null) {
      $map = array_map(function($name) use($default){
        if ($this->__isset($name)) {
          return $this->__attributes[$name]['value'];
        } elseif ($this->propertyExists($name, 'default')) {
          return $this->__attributes[$name]['default'];
        }
  
        return (null === $default) ? null : $default;
      }, (array) $name);
  
      return count($map) > 1 ? $map : $map[0];
    }
code: function get($name, $default=null) {
      $map = array_map(function($name) use($default){
        if ($this->__isset($name)) {
          return $this->__attributes[$name]['value'];
        } elseif ($this->propertyExists($name, 'default')) {
          return $this->__attributes[$name]['default'];
        }
  
        return (null === $default) ? null : $default;
      }, (array) $name);
  
      return count($map) > 1 ? $map : $map[0];
    }
code_tokens: function get ( $ name , $ default = null ) { $ map = array_map ( function ( $ name ) use ( $ default ) { if ( $ this -> __isset ( $ name ) ) { return $ this -> __attributes [ $ name ] [ 'value' ] ; } elseif ( $ this -> propertyExists ( $ name , 'default' ) ) { return $ this -> __attributes [ $ name ] [ 'default' ] ; } return ( null === $ default ) ? null : $ default ; } , ( array ) $ name ) ; return count ( $ map ) > 1 ? $ map : $ map [ 0 ] ; }
docstring: `get` returns attributes value or, if attribute value is null, returns default value if given
  
  @param   string  $name     attribute name
  @param   mixed   $default  [optional] default return value
  
  @return  mixed
docstring_tokens: get returns attributes value or if attribute value is null returns default value if given