private static function applyCallbacks($value, array $callbacks)
    {
        foreach ($callbacks as $callback) {
            $value = call_user_func($callback, $value);
        }

        return $value;
    }
private static function applyCallbacks($value, array $callbacks)
    {
        foreach ($callbacks as $callback) {
            $value = call_user_func($callback, $value);
        }

        return $value;
    }
private static function applyCallbacks ( $ value , array $ callbacks ) { foreach ( $ callbacks as $ callback ) { $ value = call_user_func ( $ callback , $ value ) ; } return $ value ; }
Applies callbacks to value.

@param  mixed $value     The value on which apply callbacks.
@param  array $callbacks An array of callable function.

@return mixed            The new value.
Applies callbacks to value .