src/Trait_/MaintainsTransformations.php
public function withTransformations($value) {
        // null for not provided remains untouched
        if ($value === null)
            return null;

        foreach ($this->valueTransformations as $f)
            $value = $f($value);

        return $value;
    }
public function withTransformations($value) {
        // null for not provided remains untouched
        if ($value === null)
            return null;

        foreach ($this->valueTransformations as $f)
            $value = $f($value);

        return $value;
    }
public function withTransformations ( $ value ) { // null for not provided remains untouched if ( $ value === null ) return null ; foreach ( $ this -> valueTransformations as $ f ) $ value = $ f ( $ value ) ; return $ value ; }
Returns the given value with all transformations applied

@param mixed $value
Returns the given value with all transformations applied