Eloquence\Behaviours\CamelCasing::__unset PHP Méthode

__unset() public méthode

Because we are changing the case of keys and want to use camelCase throughout the application, whenever we do unset variables we need to ensure that we unset using snake_case.
public __unset ( $key ) : void
$key
Résultat void
    public function __unset($key)
    {
        return parent::__unset($this->getSnakeKey($key));
    }