I'm using Doctrine together with CodeIgniter.
I have can't quite figure out the logic of why the generated models from my YaML starting in 'A' crash.
For example generating a model from the following YaML will work fine:
Pguy:
columns:
ptext: string(255)
Likewise:
Zguy:
columns:
ztext: string(255)
will produce models/Zguy.php and models/generated/BaseZGuy.php which also work fine.
However, if I start my class name with 'A', the generated model will cause to fail:
Aguy:
columns:
atext: string(255)
Starting with 'B' does the same thing - crash!
I can't see why this is. The code within the files Zguy.php | BaseZguy.php are exactly the same as the code in Aguy.php | BaseAguy.php - with the exception of the class and variable starting letter.
Ideas?
(Disclaimer: I am blonde)