OXIESEC PANEL
- Current Dir:
/
/
var
/
www
/
reader
/
zaws-ses
/
vendor
/
wildbit
/
postmark-php
/
src
/
Postmark
/
Models
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
07/30/2024 12:11:35 PM
rwxr-xr-x
📄
CaseInsensitiveArray.php
2.67 KB
07/30/2024 12:11:35 PM
rw-r--r--
📄
DataRemovalRequestResponse.php
785 bytes
07/30/2024 12:11:35 PM
rw-r--r--
📄
DynamicResponseModel.php
1.95 KB
07/30/2024 12:11:35 PM
rw-r--r--
📁
MessageStream
-
07/30/2024 12:18:10 PM
rwxr-xr-x
📄
PostmarkAddressFull.php
1.43 KB
07/30/2024 12:11:35 PM
rw-r--r--
📄
PostmarkAgentInfo.php
1.1 KB
07/30/2024 12:11:35 PM
rw-r--r--
📄
PostmarkAttachment.php
1.57 KB
07/30/2024 12:11:35 PM
rw-r--r--
📄
PostmarkBounce.php
6.51 KB
07/30/2024 12:11:35 PM
rw-r--r--
📄
PostmarkBounceActivation.php
1.08 KB
07/30/2024 12:11:35 PM
rw-r--r--
📄
PostmarkBounceDump.php
450 bytes
07/30/2024 12:11:35 PM
rw-r--r--
📄
PostmarkBounceList.php
1.03 KB
07/30/2024 12:11:35 PM
rw-r--r--
📄
PostmarkBounceSummary.php
1.07 KB
07/30/2024 12:11:35 PM
rw-r--r--
📄
PostmarkClick.php
3.52 KB
07/30/2024 12:11:35 PM
rw-r--r--
📄
PostmarkClickList.php
1.12 KB
07/30/2024 12:11:35 PM
rw-r--r--
📄
PostmarkDeliveryStats.php
1.08 KB
07/30/2024 12:11:35 PM
rw-r--r--
📄
PostmarkDomain.php
2.29 KB
07/30/2024 12:11:35 PM
rw-r--r--
📄
PostmarkDomainDetails.php
5.41 KB
07/30/2024 12:11:35 PM
rw-r--r--
📄
PostmarkDomainList.php
1.04 KB
07/30/2024 12:11:36 PM
rw-r--r--
📄
PostmarkException.php
1.11 KB
07/30/2024 12:11:36 PM
rw-r--r--
📄
PostmarkGeographyInfo.php
2.54 KB
07/30/2024 12:11:36 PM
rw-r--r--
📄
PostmarkInboundMessage.php
9.66 KB
07/30/2024 12:11:36 PM
rw-r--r--
📄
PostmarkInboundMessageList.php
1.27 KB
07/30/2024 12:11:36 PM
rw-r--r--
📄
PostmarkInboundRuleTrigger.php
759 bytes
07/30/2024 12:11:36 PM
rw-r--r--
📄
PostmarkInboundRuleTriggerList.php
1.16 KB
07/30/2024 12:11:36 PM
rw-r--r--
📄
PostmarkMessage.php
1.22 KB
07/30/2024 12:11:36 PM
rw-r--r--
📄
PostmarkMessageBase.php
4.44 KB
07/30/2024 12:11:36 PM
rw-r--r--
📄
PostmarkMessageDump.php
415 bytes
07/30/2024 12:11:36 PM
rw-r--r--
📄
PostmarkMessageEvent.php
1.74 KB
07/30/2024 12:11:36 PM
rw-r--r--
📄
PostmarkMessageEventDetails.php
3.63 KB
07/30/2024 12:11:36 PM
rw-r--r--
📄
PostmarkMessageEvents.php
799 bytes
07/30/2024 12:11:36 PM
rw-r--r--
📄
PostmarkOpen.php
3.2 KB
07/30/2024 12:11:36 PM
rw-r--r--
📄
PostmarkOpenList.php
1.1 KB
07/30/2024 12:11:36 PM
rw-r--r--
📄
PostmarkOutboundMessage.php
4.28 KB
07/30/2024 12:11:36 PM
rw-r--r--
📄
PostmarkOutboundMessageDetail.php
1.73 KB
07/30/2024 12:11:36 PM
rw-r--r--
📄
PostmarkOutboundMessageList.php
1.18 KB
07/30/2024 12:11:36 PM
rw-r--r--
📄
PostmarkResponse.php
2.44 KB
07/30/2024 12:11:36 PM
rw-r--r--
📄
PostmarkSenderSignature.php
12.03 KB
07/30/2024 12:11:36 PM
rw-r--r--
📄
PostmarkSenderSignatureList.php
1.24 KB
07/30/2024 12:11:36 PM
rw-r--r--
📄
PostmarkServer.php
8.25 KB
07/30/2024 12:11:36 PM
rw-r--r--
📄
PostmarkServerList.php
1.14 KB
07/30/2024 12:11:36 PM
rw-r--r--
📄
PostmarkTemplate.php
3.74 KB
07/30/2024 12:11:37 PM
rw-r--r--
📄
PostmarkTemplateList.php
1.18 KB
07/30/2024 12:11:37 PM
rw-r--r--
📁
Stats
-
07/30/2024 12:18:10 PM
rwxr-xr-x
📁
Suppressions
-
07/30/2024 12:18:11 PM
rwxr-xr-x
📄
TemplateValidationResponse.php
12.44 KB
07/30/2024 12:11:37 PM
rw-r--r--
📄
TemplatedPostmarkMessage.php
1.74 KB
07/30/2024 12:11:37 PM
rw-r--r--
📁
Webhooks
-
07/30/2024 12:18:11 PM
rwxr-xr-x
Editing: CaseInsensitiveArray.php
Close
<?php namespace Postmark\Models; use ArrayAccess; use Iterator; use ReturnTypeWillChange; // phpcs:ignore /** * CaseInsensitiveArray allows accessing elements with mixed-case keys. * * This allows access to the array to be very forgiving. (i.e. If you access something * with the wrong CaSe, it'll still find the correct element) */ class CaseInsensitiveArray implements ArrayAccess, Iterator { private $_container = []; private $_pointer = 0; /** * Initialize a CaseInsensitiveArray from an existing array. * * @param array $initialArray the base array from which to create the new array */ public function __construct(array $initialArray = []) { $this->_container = array_change_key_case($initialArray); } #[ReturnTypeWillChange] public function offsetSet($offset, $value) { if (is_string($offset)) { $offset = $this->fixOffsetName($offset); } if (is_null($offset)) { $this->_container[] = $value; } else { $this->_container[$offset] = $value; } } #[ReturnTypeWillChange] public function offsetExists($offset) { if (is_string($offset)) { $offset = $this->fixOffsetName($offset); } return isset($this->_container[$offset]); } #[ReturnTypeWillChange] public function offsetUnset($offset) { if (is_string($offset)) { $offset = $this->fixOffsetName($offset); } unset($this->_container[$offset]); } #[ReturnTypeWillChange] public function offsetGet($offset) { if (is_string($offset)) { $offset = $this->fixOffsetName($offset); } return $this->_container[$offset] ?? null; } #[ReturnTypeWillChange] public function current() { // use "offsetGet" instead of indexes // so that subclasses can override behavior if needed. return $this->offsetGet($this->key()); } #[ReturnTypeWillChange] public function key() { $keys = array_keys($this->_container); return $keys[$this->_pointer]; } #[ReturnTypeWillChange] public function next() { ++$this->_pointer; } #[ReturnTypeWillChange] public function rewind() { $this->_pointer = 0; } #[ReturnTypeWillChange] public function valid() { return count(array_keys($this->_container)) > $this->_pointer; } private function fixOffsetName($offset) { return preg_replace('/_/', '', strtolower($offset)); } }