src/Entity/LocationSearchCriteria.php
public function setMaximumListSize($maximumListSize)
    {
        $maximumListSize = (int)$maximumListSize;

        if ($maximumListSize < 1 || $maximumListSize > 50) {
            throw new BaseException('Maximum list size: If present, indicates the maximum number of locations the client wishes to receive in response; ranges from 1 to 50 with a default value of 10');
        }

        $this->maximumListSize = $maximumListSize;
    }
public function setMaximumListSize($maximumListSize)
    {
        $maximumListSize = (int)$maximumListSize;

        if ($maximumListSize < 1 || $maximumListSize > 50) {
            throw new BaseException('Maximum list size: If present, indicates the maximum number of locations the client wishes to receive in response; ranges from 1 to 50 with a default value of 10');
        }

        $this->maximumListSize = $maximumListSize;
    }
public function setMaximumListSize ( $ maximumListSize ) { $ maximumListSize = ( int ) $ maximumListSize ; if ( $ maximumListSize < 1 || $ maximumListSize > 50 ) { throw new BaseException ( 'Maximum list size: If present, indicates the maximum number of locations the client wishes to receive in response; ranges from 1 to 50 with a default value of 10' ) ; } $ this -> maximumListSize = $ maximumListSize ; }
@param mixed $maximumListSize

@throws BaseException
@param mixed $maximumListSize