Lines Matching refs:from
85 public static function rangeFromBoundaries($from, $to) argument
103 $result = static::rangeFromBoundaryAddresses($from, $to);
115 …protected static function rangeFromBoundaryAddresses(AddressInterface $from = null, AddressInterfa… argument
117 if ($from === null && $to === null) {
120 $result = Range\Single::fromAddress($from);
121 } elseif ($from === null) {
125 $addressType = $from->getAddressType();
127 $cmp = strcmp($from->getComparableString(), $to->getComparableString());
129 $result = Range\Single::fromAddress($from);
132 list($from, $to) = array($to, $from);
134 $fromBytes = $from->getBytes();
149 $result = static::rangeFromString($from->toString(true).'/'.(string) $sameBits);