public function offsetUnset($key)
    {
        if (is_numeric($key)) {
            throw new InvalidArgumentException(
                'Entity array access only supports non-numeric keys'
            );
        }

        $key = $this->camelize($key);

        /** @internal Edge Case: "_" → "" */
        if ($key === '') {
            return;
        }

        $this[$key] = null;
        unset($this->keys[$key]);
    }
public function offsetUnset($key)
    {
        if (is_numeric($key)) {
            throw new InvalidArgumentException(
                'Entity array access only supports non-numeric keys'
            );
        }

        $key = $this->camelize($key);

        /** @internal Edge Case: "_" → "" */
        if ($key === '') {
            return;
        }

        $this[$key] = null;
        unset($this->keys[$key]);
    }
public function offsetUnset ( $ key ) { if ( is_numeric ( $ key ) ) { throw new InvalidArgumentException ( 'Entity array access only supports non-numeric keys' ) ; } $ key = $ this -> camelize ( $ key ) ; /** @internal Edge Case: "_" → "" */ if ( $ key === '' ) { return ; } $ this [ $ key ] = null ; unset ( $ this -> keys [ $ key ] ) ; }
Removes the value from the specified key on this entity.

Routine:
- The data key is removed from the {@see self::$keys entity's key pool}.
- NULL is {@see self::offsetSet() assigned} to the entity.

@see    \ArrayAccess
@uses   self::offsetSet()
@param  string $key The data key to remove.
@throws InvalidArgumentException If the $key is not a string or is a numeric value.
@return void
Removes the value from the specified key on this entity .