private function parseArrayable(FieldBuilder $field, $value = [])
    {
        if (is_null($value) || ('0' !== $value && empty($value)))
        {
            if (isset($field['default']))
            {
                return (array)$field['default'];
            }

            return [];
        }

        return (array)$value;
    }
private function parseArrayable(FieldBuilder $field, $value = [])
    {
        if (is_null($value) || ('0' !== $value && empty($value)))
        {
            if (isset($field['default']))
            {
                return (array)$field['default'];
            }

            return [];
        }

        return (array)$value;
    }
private function parseArrayable ( FieldBuilder $ field , $ value = [ ] ) { if ( is_null ( $ value ) || ( '0' !== $ value && empty ( $ value ) ) ) { if ( isset ( $ field [ 'default' ] ) ) { return ( array ) $ field [ 'default' ] ; } return [ ] ; } return ( array ) $ value ; }
Parse default value for fields using array values.

@param FieldBuilder $field
@param array        $value

@return array
Parse default value for fields using array values .