Allow users to write multiple items at once
This commit is contained in:
@@ -25,12 +25,12 @@ interface MetaContract
|
||||
/**
|
||||
* Adds the key-value pair into the serialized data set.
|
||||
*
|
||||
* @param string|int $key
|
||||
* @param string|int|array $keyOrArray
|
||||
* @param string|int|float|array|bool|null $value
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function write( $key, $value );
|
||||
public function write( $keyOrArray, $value = null );
|
||||
|
||||
/**
|
||||
* Get the serialized value of the meta info.
|
||||
|
||||
Reference in New Issue
Block a user