src/Storage/Bin.php
public function set($key, $value) {
		if (null === $key) {
			$this->_data[] = $value;
		} else {
			$this->_data[$key] = $value;
		}
	}
public function set($key, $value) {
		if (null === $key) {
			$this->_data[] = $value;
		} else {
			$this->_data[$key] = $value;
		}
	}
public function set ( $ key , $ value ) { if ( null === $ key ) { $ this -> _data [ ] = $ value ; } else { $ this -> _data [ $ key ] = $ value ; } }
Set an item value by key.

Accepts null as a key (item key will be an index).

@param string|null $key
@param mixed $value
Set an item value by key .