Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pass zero arguments to get/set/et al (ability to access current path) #7

Closed
katowulf opened this issue Nov 7, 2014 · 1 comment
Closed

Comments

@katowulf
Copy link

katowulf commented Nov 7, 2014

It's not possible to access the current or root path using get/set/et al.

Example:

$fb = new Firebase\Firebase(array(
  'base_url' => 'https://INSTANCE.firebaseio.com/phptest',
  'token' => SECRET,
),new GuzzleHttp\Client());

// this generates an error and I can't access the phptest/ path, nor would I be able to access
// the root path in a Firebase
var_dump($fb->get());
@eelkevdbos
Copy link
Owner

Hi @katowulf, I've tried to implement zero argument get and delete member functions and single argument setter, updater and pusher member functions. Can you confirm this issue fixed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants