mirror of
https://github.com/friendica/friendica
synced 2025-04-29 14:24:22 +02:00
Rename classes
- Repository/Model Notification => Notify - Factory/Object Notification => Notification
This commit is contained in:
parent
b85511b00d
commit
0840938dff
12 changed files with 45 additions and 45 deletions
18
src/DI.php
18
src/DI.php
|
@ -245,19 +245,19 @@ abstract class DI
|
|||
}
|
||||
|
||||
/**
|
||||
* @return \Friendica\Factory\Notification\NotificationFactory
|
||||
* @return \Friendica\Factory\Notification\Notification
|
||||
*/
|
||||
public static function factNotification()
|
||||
public static function notification()
|
||||
{
|
||||
return self::$dice->create(Factory\Notification\NotificationFactory::class);
|
||||
return self::$dice->create(Factory\Notification\Notification::class);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return \Friendica\Factory\Notification\IntroductionFactory
|
||||
* @return \Friendica\Factory\Notification\Introduction
|
||||
*/
|
||||
public static function factNotIntro()
|
||||
public static function notificationIntro()
|
||||
{
|
||||
return self::$dice->create(Factory\Notification\IntroductionFactory::class);
|
||||
return self::$dice->create(Factory\Notification\Introduction::class);
|
||||
}
|
||||
|
||||
//
|
||||
|
@ -273,11 +273,11 @@ abstract class DI
|
|||
}
|
||||
|
||||
/**
|
||||
* @return Repository\Notification
|
||||
* @return Repository\Notify
|
||||
*/
|
||||
public static function notification()
|
||||
public static function notify()
|
||||
{
|
||||
return self::$dice->create(Repository\Notification::class);
|
||||
return self::$dice->create(Repository\Notify::class);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue