src/Jackiedo/LogReader/LogReader.php
protected function setOrderByDirection($direction)
    {
        $direction = strtolower($direction);

        if ($direction == 'desc' || $direction == 'asc') {
            $this->orderByDirection = $direction;
        }
    }
protected function setOrderByDirection($direction)
    {
        $direction = strtolower($direction);

        if ($direction == 'desc' || $direction == 'asc') {
            $this->orderByDirection = $direction;
        }
    }
protected function setOrderByDirection ( $ direction ) { $ direction = strtolower ( $ direction ) ; if ( $ direction == 'desc' || $ direction == 'asc' ) { $ this -> orderByDirection = $ direction ; } }
Sets the orderByDirection property to the specified direction.

@param  string  $direction

@return void
Sets the orderByDirection property to the specified direction .