• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

podio-community / podio-php / 5242912328

pending completion
5242912328

push

github

web-flow
Merge pull request #228 from podio-community/90-non-static-podio-class

feat: isolated client class to allow for parallel usage + extension mocking

648 of 648 new or added lines in 66 files covered. (100.0%)

917 of 2108 relevant lines covered (43.5%)

24.11 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/models/PodioNotificationGroup.php
1
<?php
2
/**
3
 * @see https://developers.podio.com/doc/notifications
4
 */
5
class PodioNotificationGroup extends PodioObject
6
{
7
    public function __construct(PodioClient $podio_client, $attributes = array())
8
    {
9
        parent::__construct($podio_client);
×
10
        $this->has_one('context', 'NotificationContext');
×
11
        $this->has_many('notifications', 'Notification');
×
12

13
        $this->init($attributes);
×
14
    }
15

16
    /**
17
     * @see https://developers.podio.com/doc/notifications/get-notification-v2-2973737
18
     */
19
    public static function get($notification_id, PodioClient $podio_client)
20
    {
21
        return self::member($podio_client->get("/notification/{$notification_id}/v2"), $podio_client);
×
22
    }
23

24
    /**
25
     * @see https://developers.podio.com/doc/notifications/get-notifications-290777
26
     */
27
    public static function get_all($attributes = array(), PodioClient $podio_client)
28
    {
29
        return self::listing($podio_client->get("/notification/", $attributes), $podio_client);
×
30
    }
31
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc