Skip to content

Introduce an adapter for better testability and DRY #2

@CloCkWeRX

Description

@CloCkWeRX

There are lots of calls to code like

    imagestring(
        $img,
        $this->_font,
        $xpos + 1,
        $this->_barcodeheight,
        $value,
        $black
    );

littered through the codebase.

Introduce an Image_Barcode2 wrapper which provides a quick OO abstraction layer on the functional calls.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions