You appear to be a bot. Output may be restricted
Description
Offset to set
Usage
$void = Recursive_ArrayAccess::offsetSet( $offset, $data );
Parameters
- $offset
- ( mixed ) required – The offset to assign the value to.
- $data
- ( mixed ) required –
Returns
void
Source
File name: easy-digital-downloads/includes/libraries/class-recursive-arrayaccess.php
Lines:
1 to 12 of 12
public function offsetSet( $offset, $data ) { if ( is_array( $data ) ) { $data = new self( $data ); } if ( $offset === null ) { // don't forget this! $this->container[] = $data; } else { $this->container[ $offset ] = $data; } $this->dirty = true; }