我使用 hautelook/alice-bundle。
由于以下错误($ 解释为对对象的引用),我无法在我的夹具中使用编码的 bcrypt 密码:
在 SimpleObjectGenerator.php 第 114 行:
生成夹具“受训者”(App\Document\Trainee)时出错:在生成过程中无法解析值。
App\Document\Trainee:
# template
trainee (template):
firstName: <fr_FR:firstName()>
lastName: <fr_FR:lastName()>
email (unique): <fr_FR:email()>
password : $2y$13$I5uLW8atzRPmC3NcvirYqO2htdMHH1l4uFQ3z0V8wHowO0FqTXl7u
plainPassword: password
birthdate: <date('now')>
address: '@address_tr_*'
phoneNumber: <fr_FR:phoneNumber()>
profileCompleted: false
你知道为什么吗?谢谢