Hi,
is there a way to pass data into the beforeCreate() method ?
I wanna do s.th. like this:
public function beforeCreate($password)
{
$this->created_at = date('Y-m-d H:i:s');
$this->updated_at = date('Y-m-d H:i:s');
$this->password = $this->getDI()->getSecurity()->hash($password);
}
Ideas ? Thanks