Skip to content

ByteArray on PHP Aerial Model #25

@cesaric

Description

@cesaric

In CollectionDriver.php ~line 30, we're explicitly casting blob columns to ByteArray. If a user isn't retrieving a DB result set that runs through this driver, they have to explicitly cast the blob property themselves before returning to Flash.

To solve this, we could build some "setter" hooks into the Doctrine model for doing this cast automatically. These hooks could be built during the code gen process. We could possibly eliminate the whole switch starting on line 30 in CollectionDriver.php.

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