src/Didww/API2/ServerPaginatedCollection.php
public function setOrderDir($orderDir = CDRCollection::ORDER_ASC)
    {
        if ($orderDir != self::ORDER_ASC && $orderDir != self::ORDER_DESC) {
            throw new CDRCollectionException("Unknown order direction");
        }
        $this->orderDir = $orderDir;
    }
public function setOrderDir($orderDir = CDRCollection::ORDER_ASC)
    {
        if ($orderDir != self::ORDER_ASC && $orderDir != self::ORDER_DESC) {
            throw new CDRCollectionException("Unknown order direction");
        }
        $this->orderDir = $orderDir;
    }
set orderDir property
@param string $orderDir
@throws CDRCollectionException