bosnadev / repository

Laravel Repositories is a package for Laravel 5 which is used to abstract the database layer. This makes applications much easier to maintain.
https://bosnadev.com
823 stars 233 forks source link

Call to undefined method findAllBy() #42

Open carlituxman opened 9 years ago

carlituxman commented 9 years ago

I have: use VCN\Repositories\AccountRepository as Account;

and try: $res = $this->account->findAllBy('type',1);

and I receive this error:

[Symfony\Component\Debug\Exception\FatalErrorException] Call to undefined method VCN\Repositories\AccountRepository::findAllBy()

carlituxman commented 9 years ago

I'm looking for on vendor/bosnadev/repositories/src/.... and not are findAllBy, findWhere ....

but in this repository appear, am I not updated??, my composer.json has "bosnadev/repositories": "0.*"

how can I get the correct/last version?

mirzap commented 9 years ago

I tagged the latest version, please check again.