public function getData($name = null, $default = null)
    {
        if (is_null($name)) {
            return $this->data;
        }

        return array_get($this->data, $name, $default);
    }
public function getData($name = null, $default = null)
    {
        if (is_null($name)) {
            return $this->data;
        }

        return array_get($this->data, $name, $default);
    }
public function getData ( $ name = null , $ default = null ) { if ( is_null ( $ name ) ) { return $ this -> data ; } return array_get ( $ this -> data , $ name , $ default ) ; }
Get single additional data

@param string $name
@param null   $default
@return mixed
Get single additional data