$viewModel is an instance of PhlyRestfully\View\RestfulJsonModel, not PhlyRestfully\RestfulJsonModel
Merge pull request #61 from flyingbuddha/patch-1

$viewModel is compared to wrong type
Merge branch 'hotfix/61'

Close #61
Merge branch 'hotfix/61' into develop

Forward port #61
[#60] Created tests demonstrating issue
[#60] Identified a solution in existing code

- Listening to `getList.post` allows setting the collection route
  options, which means you can add query string options.
- You cannot set "query => true", as when we merge the "page => $page"
  setting, it will be overwritten.
- Recommended in the README to use a whitelist (it's better that way
  anyways).
Merge branch 'feature/collection-query-parameters' into develop

Fixes #60
[#62] Fix identifiers configuration

- Identifiers now are correctly passed to controller
- New key, resource_identifiers, is passed to resource event manager
Merge branch 'feature/factory-identifiers' into develop

Close #62
Merge branch 'develop'

Fix #62
Fix #60
Had some errant code

- had started to add request to hal links, but forgot to remove the code once I
  opted not to go down that path.
Merge branch 'hotfix/request-removal'
Merge branch 'hotfix/request-removal' into develop
Add automated listener for query whitelist

- "collection_query_whitelist" parameter in resource controller
  definition; can be either string or array.
- Tested!
- Also, discovered that you cannot set an array of identifiers for the
  controller, only a string; modified factory and readme accordingly.
Merge branch 'feature/factory-collection-query-whitelist' into develop

Allow whitelist of query parameters to inject in collection links.
Merge branch 'develop'

Allow whitelist of query parameters to inject in collection links.
[#59] Wrote unit test

- Demonstrates expectations for embedded collections
Extract method

- Extracted logic for creating embed array for a collection into its own
  method
[#59] Resources may embed HalCollections now

- Any individual resource, whether embedded or standalone, can now embed
  a collection.

- Discovered an issue with creation of HAL links in the process; working
  on a fix.
Fixed link rendering error

- fromLink() returned the path directly if it included "http" as the
  first four characters; it should wrap it in an array, assigning the
  path to an "href" key.