소스 검색

Fix some phpdoc errors and rename interface

tags/v7.0.0alpha2
Robin Appelman 10 년 전
부모
커밋
1ab7ca0a19
3개의 변경된 파일9개의 추가작업 그리고 5개의 파일을 삭제
  1. 3
    1
      lib/private/memcache/factory.php
  2. 5
    3
      lib/public/icachefactory.php
  3. 1
    1
      lib/public/iservercontainer.php

+ 3
- 1
lib/private/memcache/factory.php 파일 보기

@@ -8,7 +8,9 @@

namespace OC\Memcache;

class Factory {
use \OCP\ICacheFactory;

class Factory implements ICacheFactory {
/**
* @var string $globalPrefix
*/

lib/public/cachefactory.php → lib/public/icachefactory.php 파일 보기

@@ -8,17 +8,19 @@

namespace OCP;

interface CacheFactory{
interface ICacheFactory{
/**
* Get a memory cache instance
*
* All entries added trough the cache instance will be namespaced by $prefix to prevent collisions between apps
*
* @param string $prefix
* @return $return \OCP\ICache
* @return \OCP\ICache
*/
public function create($prefix = '');

/**
* Check if a memory cache backend is available
* Check if any memory cache backend is available
*
* @return bool
*/

+ 1
- 1
lib/public/iservercontainer.php 파일 보기

@@ -144,7 +144,7 @@ interface IServerContainer {
/**
* Returns an \OCP\CacheFactory instance
*
* @return \OCP\CacheFactory
* @return \OCP\ICacheFactory
*/
function getMemCacheFactory();


Loading…
취소
저장