I'm using this tutorial as the basis for a Code Igniter / Doctrine based project.
http://www.phpandstuff.com/articles/codeigniter-doctrine-scratch-day-3-user-signup-form
Instead of using the code as-is for the models, my project is using a YAML schema file to generate the models
I've hit a snag, in that I've got no idea how to represent the following using YAML:
$this->hasMutator('password', '_encrypt_password');
(this is from the User model code, under 'Adding Mutators') Specifically, I'm having trouble with the $this->hasMutator line
I've googled until blue, searched documentation for Doctrine, symfony (which I know uses Doctrine heavily) and even grep'd the codebase for references to mutators - I've come up empty
Is there a way to represent the line $this->hasMutator('password', '_encrypt_password'); using Doctrine YAML?