| 1 | <?php |
||
| 10 | final class ContactMethods extends FilterIterator implements Collection |
||
| 11 | { |
||
| 12 | use \Shrikeh\PagerDuty\Collection\Traits\ImmutableCollection; |
||
| 13 | |||
| 14 | private function append(ContactMethod $method) |
||
| 18 | |||
| 19 | public function accept() |
||
| 23 | |||
| 24 | public function filterByResource($resource, $excludeBlacklisted = true) |
||
| 37 | |||
| 38 | private function filterBlacklisted($methods) { |
||
| 47 | |||
| 48 | private function isBlacklisted(ContactMethod $contactMethod) |
||
| 55 | } |
||
| 56 |