Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Nextcloud
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TeDomum
Nextcloud
Commits
1ab7ca0a
Commit
1ab7ca0a
authored
11 years ago
by
Robin Appelman
Browse files
Options
Downloads
Patches
Plain Diff
Fix some phpdoc errors and rename interface
parent
02aa44d0
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
lib/private/memcache/factory.php
+3
-1
3 additions, 1 deletion
lib/private/memcache/factory.php
lib/public/icachefactory.php
+5
-3
5 additions, 3 deletions
lib/public/icachefactory.php
lib/public/iservercontainer.php
+1
-1
1 addition, 1 deletion
lib/public/iservercontainer.php
with
9 additions
and
5 deletions
lib/private/memcache/factory.php
+
3
−
1
View file @
1ab7ca0a
...
...
@@ -8,7 +8,9 @@
namespace
OC\Memcache
;
class
Factory
{
use
\OCP\ICacheFactory
;
class
Factory
implements
ICacheFactory
{
/**
* @var string $globalPrefix
*/
...
...
This diff is collapsed.
Click to expand it.
lib/public/cachefactory.php
→
lib/public/
i
cachefactory.php
+
5
−
3
View file @
1ab7ca0a
...
...
@@ -8,17 +8,19 @@
namespace
OCP
;
interface
CacheFactory
{
interface
I
CacheFactory
{
/**
* 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 a
ny
memory cache backend is available
*
* @return bool
*/
...
...
This diff is collapsed.
Click to expand it.
lib/public/iservercontainer.php
+
1
−
1
View file @
1ab7ca0a
...
...
@@ -144,7 +144,7 @@ interface IServerContainer {
/**
* Returns an \OCP\CacheFactory instance
*
* @return \OCP\CacheFactory
* @return \OCP\
I
CacheFactory
*/
function
getMemCacheFactory
();
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment