Skip to content

Cannot validate concrete class #58

@shadowhand

Description

@shadowhand

Because of this constraint it is not possible to validate an object that has a concrete class, even if the class looks something like:

class User
{
    public $id;
    public $username;
    public $email;
}

Shouldn't this constraint be $ok = is_object($data); ?

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