Lines Matching refs:fromAddress
24 protected $fromAddress; variable in IPLib\\Range\\Pattern
54 …public function __construct(AddressInterface $fromAddress, AddressInterface $toAddress, $asterisks… argument
56 $this->fromAddress = $fromAddress;
84 $fromAddress = IPv4::fromString(str_replace('*', '0', $range));
85 if ($fromAddress !== null) {
86 $fixedBytes = array_slice($fromAddress->getBytes(), 0, -$asterisksCount);
89 $result = new static($fromAddress, $toAddress, $asterisksCount);
95 $fromAddress = IPv6::fromString(str_replace('*', '0', $range));
96 if ($fromAddress !== null) {
97 $fixedWords = array_slice($fromAddress->getWords(), 0, -$asterisksCount);
100 $result = new static($fromAddress, $toAddress, $asterisksCount);
116 return $this->fromAddress->toString($long);
119 case $this->fromAddress instanceof \IPLib\Address\IPv4:
120 $chunks = explode('.', $this->fromAddress->toString());
125 case $this->fromAddress instanceof \IPLib\Address\IPv6:
127 $chunks = explode(':', $this->fromAddress->toString(true));
166 return $this->fromAddress->getAddressType();
179 …$this->rangeType = Factory::rangeFromBoundaries($this->fromAddress->toIPv4(), $this->toAddress->to…
259 return $this->fromAddress;
279 return $this->fromAddress->getComparableString();