src/Summary.php
public function add($type, $value)
    {
        if (!isset($this->_data[$type])) {
            $this->_data[$type] = [];
        }
        $this->_data[$type][] = $value;
        return $this;
    }
public function add($type, $value)
    {
        if (!isset($this->_data[$type])) {
            $this->_data[$type] = [];
        }
        $this->_data[$type][] = $value;
        return $this;
    }
public function add ( $ type , $ value ) { if ( ! isset ( $ this -> _data [ $ type ] ) ) { $ this -> _data [ $ type ] = [ ] ; } $ this -> _data [ $ type ] [ ] = $ value ; return $ this ; }
Add a data to a specific key.

@param  string $type  The type of data.
@param  mixed  $value The value to add.
@return self
Add a data to a specific key .