mirror of
https://github.com/friendica/friendica
synced 2025-04-26 23:50:11 +00:00
Restructure Storage to new paradigm
This commit is contained in:
parent
24f8ee8e67
commit
2ab0d06996
29 changed files with 229 additions and 199 deletions
|
@ -211,11 +211,11 @@ abstract class DI
|
|||
}
|
||||
|
||||
/**
|
||||
* @return Core\StorageManager
|
||||
* @return \Friendica\Core\Storage\Repository\StorageManager
|
||||
*/
|
||||
public static function storageManager()
|
||||
{
|
||||
return self::$dice->create(Core\StorageManager::class);
|
||||
return self::$dice->create(Core\Storage\Repository\StorageManager::class);
|
||||
}
|
||||
|
||||
//
|
||||
|
@ -395,11 +395,11 @@ abstract class DI
|
|||
}
|
||||
|
||||
/**
|
||||
* @return Model\Storage\IWritableStorage
|
||||
* @return Core\Storage\Capability\ICanWriteToStorage
|
||||
*/
|
||||
public static function storage()
|
||||
{
|
||||
return self::$dice->create(Model\Storage\IWritableStorage::class);
|
||||
return self::$dice->create(Core\Storage\Capability\ICanWriteToStorage::class);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue