for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* elFinder - file manager for web.
* Session Wrapper Interface.
*
* @author Naoki Sawada
**/
interface elFinderSessionInterface
You can fix this by adding a namespace to your class:
namespace YourVendor; class YourClass { }
When choosing a vendor namespace, try to pick something that is not too generic to avoid conflicts with other libraries.
{
* Session start.
* @return self
public function start();
* Session write & close.
public function close();
* Get session data.
* This method must be equipped with an automatic start / close.
* @param string $key Target key
* @param mixed $empty Return value of if session target key does not exist
* @return mixed
public function get($key, $empty = '');
* Set session data.
* @param mixed $data Value
public function set($key, $data);
public function remove($key);
}
You can fix this by adding a namespace to your class:
When choosing a vendor namespace, try to pick something that is not too generic to avoid conflicts with other libraries.