This repository was archived by the owner on Nov 19, 2025. It is now read-only.

Description
It would be nice if fixture files could support Closures. For example:
// users.php
return array(
'AdminUser' => array(
'first_name' => 'Admin',
'last_name' => 'User',
'email' => 'email@domain.com',
'password' => function () {
$mylib = new MyLibrary();
return $mylib->hashPassword('password');
}
)
);
Thoughts?