src/Northern/Common/Util/ArrayUtil.php
public static function extract(array &$arr, $path, $default = null, $delimiter = '.')
    {
        $value = static::get($arr, $path, $default, $delimiter);

        static::delete($arr, $path, $delimiter);

        return $value;
    }
public static function extract(array &$arr, $path, $default = null, $delimiter = '.')
    {
        $value = static::get($arr, $path, $default, $delimiter);

        static::delete($arr, $path, $delimiter);

        return $value;
    }
public static function extract ( array & $ arr , $ path , $ default = null , $ delimiter = '.' ) { $ value = static :: get ( $ arr , $ path , $ default , $ delimiter ) ; static :: delete ( $ arr , $ path , $ delimiter ) ; return $ value ; }
Returns a value for a specified array key and deletes the key.

@param  array  $arr
@param  string $path
@param  mixed  $default
@param  string $delimiter
@return mixed
Returns a value for a specified array key and deletes the key .