Philipp Holzer
0850fb88dd
- Introduce Repository for interaction with "notify" table - Introduce Factory for read-only notification objects (they're just loosely based on notification the table!) - Introduce Objects for type-safe usage at the presentation layer - Reworked Model, which is now fully based on the notify table, including generated fields (cache, ..)
18 lines
241 B
PHP
18 lines
241 B
PHP
<?php
|
|
|
|
namespace Friendica\Collection;
|
|
|
|
use Friendica\BaseCollection;
|
|
use Friendica\Model;
|
|
|
|
class Notifications extends BaseCollection
|
|
{
|
|
/**
|
|
* @return Model\Notification
|
|
*/
|
|
public function current()
|
|
{
|
|
return parent::current();
|
|
}
|
|
}
|