{"action":"created","issue":{"url":"https://api.github.com/repos/liip/LiipImagineBundle/issues/1078","repository_url":"https://api.github.com/repos/liip/LiipImagineBundle","labels_url":"https://api.github.com/repos/liip/LiipImagineBundle/issues/1078/labels{/name}","comments_url":"https://api.github.com/repos/liip/LiipImagineBundle/issues/1078/comments","events_url":"https://api.github.com/repos/liip/LiipImagineBundle/issues/1078/events","html_url":"https://github.com/liip/LiipImagineBundle/issues/1078","id":304360812,"number":1078,"title":"Injecting FileSystemLocator service","user":{"login":"silverbackdan","id":25174262,"avatar_url":"https://avatars0.githubusercontent.com/u/25174262?v=4","gravatar_id":"","url":"https://api.github.com/users/silverbackdan","html_url":"https://github.com/silverbackdan","followers_url":"https://api.github.com/users/silverbackdan/followers","following_url":"https://api.github.com/users/silverbackdan/following{/other_user}","gists_url":"https://api.github.com/users/silverbackdan/gists{/gist_id}","starred_url":"https://api.github.com/users/silverbackdan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/silverbackdan/subscriptions","organizations_url":"https://api.github.com/users/silverbackdan/orgs","repos_url":"https://api.github.com/users/silverbackdan/repos","events_url":"https://api.github.com/users/silverbackdan/events{/privacy}","received_events_url":"https://api.github.com/users/silverbackdan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2018-03-12T12:58:00Z","updated_at":"2018-03-12T13:54:05Z","closed_at":null,"author_association":"NONE","body":"| Q | A\r\n| --- | ---\r\n| Bug Report? | no\r\n| Feature Request? | no\r\n| BC Break Report? | no\r\n| RFC? | yes\r\n| Imagine Bundle Version | 2.0-dev\r\n\r\nI'm creating an OS reusable bundle that uses this bundle. I'd like to use the FIleSystemLocator service in another service of mine. When injecting I get \r\n```\r\nArgument 1 passed to Liip\\ImagineBundle\\Binary\\Locator\\FileSystemLocator::__construct() must be of the type array, string given ...\r\n```\r\n\r\nAn empty string is being passed instead of the root directories array. It seems to work fine until I try to inject the service `liip_imagine.binary.locator.filesystem`\r\n\r\nIs this an Imagine bug or Symfony do you think? SF version 4.0.6 - I have traced and see that the locator factory is setting to inject the root directories into the service, but perhaps there's something I'm missing when trying to use the service?"},"comment":{"url":"https://api.github.com/repos/liip/LiipImagineBundle/issues/comments/372317087","html_url":"https://github.com/liip/LiipImagineBundle/issues/1078#issuecomment-372317087","issue_url":"https://api.github.com/repos/liip/LiipImagineBundle/issues/1078","id":372317087,"user":{"login":"silverbackdan","id":25174262,"avatar_url":"https://avatars0.githubusercontent.com/u/25174262?v=4","gravatar_id":"","url":"https://api.github.com/users/silverbackdan","html_url":"https://github.com/silverbackdan","followers_url":"https://api.github.com/users/silverbackdan/followers","following_url":"https://api.github.com/users/silverbackdan/following{/other_user}","gists_url":"https://api.github.com/users/silverbackdan/gists{/gist_id}","starred_url":"https://api.github.com/users/silverbackdan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/silverbackdan/subscriptions","organizations_url":"https://api.github.com/users/silverbackdan/orgs","repos_url":"https://api.github.com/users/silverbackdan/repos","events_url":"https://api.github.com/users/silverbackdan/events{/privacy}","received_events_url":"https://api.github.com/users/silverbackdan/received_events","type":"User","site_admin":false},"created_at":"2018-03-12T13:54:05Z","updated_at":"2018-03-12T13:54:05Z","author_association":"NONE","body":"As you're being kind enough to reply so fast I just wanted to say that I'm looking at data loaders now and just making sure I can get the root directories configured in a custom loader. I wasn't sure that is possible, but I'm taking a look through the solution you've suggested now."}}
{"actor":{"display_login":"silverbackdan"}}