shell bypass 403
<?php
/**
* This file is part of the firebase-php package.
*
* For the full copyright and license information, please read the LICENSE
* file that was distributed with this source code.
*/
namespace Kreait\Firebase;
use Psr\Log\LoggerAwareInterface;
interface FirebaseInterface extends LoggerAwareInterface, ReferenceProviderInterface
{
/**
* Returns a Reference for the given location.
*
* @param string|null $location The location.
* @throws FirebaseException When the location is not available.
* @return array The returned data.
*/
public function get($location);
/**
* Write or replace data at the given location.
*
* @param array $data
* @param string $location
* @return array The returned data.
*/
public function set(array $data, $location);
/**
* Generates a new child and returns its key.
*
* @param array $data The data to be pushed.
* @param string $location The location to push the new child to.
* @return string The key of the new child.
*/
public function push(array $data, $location);
/**
* Update the given field(s) at the given location.
*
* @param array $data The fields.
* @param string $location The location.
* @return array The written fields.
*/
public function update(array $data, $location);
/**
* Deletes the given location.
*
* @param string $location
* @return void
*/
public function delete($location);
}