oasmobile / php-dynamodb-odm

ODM for dynamodb
MIT License
13 stars 18 forks source link

itemSrcDir #1

Closed tfe2012 closed 7 years ago

tfe2012 commented 7 years ago

Can you explain this parameter?

"a source directory under which Item classes can be found "

Item classes <- you mean entity classes? or library classes?

no7mks commented 7 years ago

it's like the Entities namespace&directory of ORM system (e.g. doctrine).

In practice, you put your Item classes (like those found in ut/Game.php, ut/ConsoleGame.php) into the src/Items directory of your project (and give them the corresponding namespace).

tfe2012 commented 7 years ago

Maybe add this information to main page ?

no7mks commented 7 years ago

Yes, I have added some notes into the ### Obtaining an ItemManager section