public function getExtra($key = null)
    {
        $data = json_decode($this->data['extra'], true);

        if (is_null($key)) {
            $rtn = $data;
        } elseif (isset($data[$key])) {
            $rtn = $data[$key];
        } else {
            $rtn = null;
        }

        return $rtn;
    }
public function getExtra($key = null)
    {
        $data = json_decode($this->data['extra'], true);

        if (is_null($key)) {
            $rtn = $data;
        } elseif (isset($data[$key])) {
            $rtn = $data[$key];
        } else {
            $rtn = null;
        }

        return $rtn;
    }
public function getExtra ( $ key = null ) { $ data = json_decode ( $ this -> data [ 'extra' ] , true ) ; if ( is_null ( $ key ) ) { $ rtn = $ data ; } elseif ( isset ( $ data [ $ key ] ) ) { $ rtn = $ data [ $ key ] ; } else { $ rtn = null ; } return $ rtn ; }
Return a value from the build's "extra" JSON array.
@param null $key
@return mixed|null|string
Return a value from the build s extra JSON array .