Skip to content

CodeIgniter\Entity Setter doesn't work  #2013

Closed
@ghost

Description

Hi,

Impossible to use the CodeIgniter\Entity setter with the 4.0.0-beta.3 release while it works well
with 4.0.0-beta.1.

You can just run the example:
https://codeigniter4.github.io/userguide/models/entities.html?highlight=entity#handling-business-logic to realize the malfunction.

public function setPassword(string $pass) {
        $this->password = password_hash($pass, PASSWORD_BCRYPT);

        return $this;
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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