I have searched a few topics in Google but sounds very complicated, involving modifying composer.json.
I tried to directly require Snoopy in my Repository (where Snoopy lib is used) like this:
- Code: Select all
class BookRepository extends EntityRepository
private function getDoubanRemote($isbn)
$s = new Snoopy();
But not good.
1. Any hint?
2. Or what existing bundles can be an alternate?