src/Genesis/API/Response.php
public static function transformObject(&$entry)
    {
        $filters = [
            'transformFilterAmounts',
            'transformFilterTimestamp'
        ];

        foreach ($filters as $filter) {
            if (method_exists(__CLASS__, $filter)) {
                $result = call_user_func([__CLASS__, $filter], $entry);

                if ($result) {
                    $entry = $result;
                }
            }
        }
    }
public static function transformObject(&$entry)
    {
        $filters = [
            'transformFilterAmounts',
            'transformFilterTimestamp'
        ];

        foreach ($filters as $filter) {
            if (method_exists(__CLASS__, $filter)) {
                $result = call_user_func([__CLASS__, $filter], $entry);

                if ($result) {
                    $entry = $result;
                }
            }
        }
    }
public static function transformObject ( & $ entry ) { $ filters = [ 'transformFilterAmounts' , 'transformFilterTimestamp' ] ; foreach ( $ filters as $ filter ) { if ( method_exists ( __CLASS__ , $ filter ) ) { $ result = call_user_func ( [ __CLASS__ , $ filter ] , $ entry ) ; if ( $ result ) { $ entry = $ result ; } } } }
Apply filters to an entry object

@param \stdClass|\ArrayObject $entry

@return mixed
Apply filters to an entry object