I'm using Doctrine as ORM in my project but ran against a strange error:
Using following YAML:
Album:
tableName: dpp_album
actAs: [Timestampable]
columns:
name: string(255)
description: string(255)
online: boolean
I then generate my models but upon refreshing my page and autoloading the models, PHP serves this error:
Fatal error: Class 'BaseAlbum' not found in E:\sites\dpp\system\application\models\Album.php on line 13
Strangely enough all my other models are just fine and the Base Classes are found in those cases.
When changing the name 'Album' to something like 'Set' it just works! Ain't that strange?!
So it seems the using 'Album' somehow conflicts, although the error message suggests something else. Change to the plural Albums also doesn't work, anything else is just fine!
Any suggestions?
Thanks!