mirror of
https://github.com/friendica/friendica
synced 2024-06-22 21:49:23 +02:00
Philipp Holzer
582f6bd4a3
- Remove "mapFields()" from BaseModel - Add new Notification API entity (including collection) - Add new NotificationFactory method "getApiList()"
18 lines
267 B
PHP
18 lines
267 B
PHP
<?php
|
|
|
|
namespace Friendica\Collection\Api;
|
|
|
|
use Friendica\BaseCollection;
|
|
use Friendica\Object\Api\Friendica\Notification;
|
|
|
|
class Notifications extends BaseCollection
|
|
{
|
|
/**
|
|
* @return Notification
|
|
*/
|
|
public function current()
|
|
{
|
|
return parent::current();
|
|
}
|
|
}
|