* @return boolean|\OCP\IImage containing the avatar or false if there's no image
* @since 6.0.0
*/
- function get($size = 64);
+ public function get($size = 64);
/**
* Check if an avatar exists for the user
* @return void
* @since 6.0.0
*/
- function set($data);
+ public function set($data);
/**
* remove the users avatar
* @return void
* @since 6.0.0
*/
- function remove();
+ public function remove();
}
* @return mixed
* @since 6.0.0
*/
- function query($name);
+ public function query($name);
/**
* A value is stored in the container with it's corresponding name
* @return void
* @since 6.0.0
*/
- function registerParameter($name, $value);
+ public function registerParameter($name, $value);
/**
* A service is registered in the container where a closure is passed in which will actually
* @return void
* @since 6.0.0
*/
- function registerService($name, \Closure $closure, $shared = true);
+ public function registerService($name, \Closure $closure, $shared = true);
}
* @return null
* @since 7.0.0
*/
- function emergency($message, array $context = array());
+ public function emergency($message, array $context = array());
/**
* Action must be taken immediately.
* @return null
* @since 7.0.0
*/
- function alert($message, array $context = array());
+ public function alert($message, array $context = array());
/**
* Critical conditions.
* @return null
* @since 7.0.0
*/
- function critical($message, array $context = array());
+ public function critical($message, array $context = array());
/**
* Runtime errors that do not require immediate action but should typically
* @return null
* @since 7.0.0
*/
- function error($message, array $context = array());
+ public function error($message, array $context = array());
/**
* Exceptional occurrences that are not errors.
* @return null
* @since 7.0.0
*/
- function warning($message, array $context = array());
+ public function warning($message, array $context = array());
/**
* Normal but significant events.
* @return null
* @since 7.0.0
*/
- function notice($message, array $context = array());
+ public function notice($message, array $context = array());
/**
* Interesting events.
* @return null
* @since 7.0.0
*/
- function info($message, array $context = array());
+ public function info($message, array $context = array());
/**
* Detailed debug information.
* @return null
* @since 7.0.0
*/
- function debug($message, array $context = array());
+ public function debug($message, array $context = array());
/**
* Logs with an arbitrary level.
* @return mixed
* @since 7.0.0
*/
- function log($level, $message, array $context = array());
+ public function log($level, $message, array $context = array());
}
* @return string
* @since 6.0.0
*/
- function getHeader($name);
+ public function getHeader($name);
/**
* Lets you access post and get parameters by the index
* @return array the value in the $_COOKIE element
* @since 6.0.0
*/
- function getCookie($key);
+ public function getCookie($key);
/**