View file PF.Src/Api/Notification.php

File size: 333B
<?php

namespace Api;

use Notification_Service_Process;

class Notification extends \Core\Api {
	public function post($app_id = null, $feed_id = 0, $user_id = 0, $force = true) {
		if (!$user_id) {
			$user_id = user()->id;
		}

		return Notification_Service_Process::instance()->add($app_id, $feed_id, $user_id, null, $force);
	}
}