Removes an attribute.
string $name:
mixed The removed value
Overrides AttributeBag::remove
public function remove($name) {
$retval = null;
$attributes =& $this
->resolveAttributePath($name);
$name = $this
->resolveKey($name);
if (array_key_exists($name, $attributes)) {
$retval = $attributes[$name];
unset($attributes[$name]);
}
return $retval;
}