<?php

namespace Pinq;

/**
 * Enum for ordering direction
 *
 * @author Elliot Levin <elliot@aanet.com.au>
 */
final class Direction
{
    private function __construct()
    {

    }

    const ASCENDING = 1;
    const DESCENDING = 2;
}

<?php

namespace Pinq;

/**
 * Enum for ordering direction
 *
 * @author Elliot Levin <elliot@aanet.com.au>
 */
final class Direction
{
    private function __construct()
    {

    }

    const ASCENDING = SORT_ASC;
    const DESCENDING = SORT_DESC;
}

Redefine order direction constants as native sort constants for convenience
Redefine order direction constants as native sort constants for convenience
