src/Service/Account.php
public function numbers($index = 1, $size = 10, $pattern = null, $searchPattern = MatchingStrategy::STARTS_WITH)
    {
        return $this->numbers->invoke($index, $size, $pattern, $searchPattern);
    }
public function numbers($index = 1, $size = 10, $pattern = null, $searchPattern = MatchingStrategy::STARTS_WITH)
    {
        return $this->numbers->invoke($index, $size, $pattern, $searchPattern);
    }
Get all inbound numbers associated with your Nexmo account

@param int $index                Page index
@param int $size                 Page size (max 100)
@param int $pattern              A matching pattern
@param int $searchPattern        Strategy for matching pattern.
0 = starts with
1 = anywhere
2 = ends with

@return Entity\NumberCollection|Entity\Number[]
@throws Exception