final public function truncateByLimit(int $limit): bool
    {
        if (count($this->props['items']) <= $limit) {
            return false;
        }
        $this->props['items'] = array_slice($this->props['items'], 0, $limit);
        return true;
    }
final public function truncateByLimit(int $limit): bool
    {
        if (count($this->props['items']) <= $limit) {
            return false;
        }
        $this->props['items'] = array_slice($this->props['items'], 0, $limit);
        return true;
    }
final public function truncateByLimit ( int $ limit ) : bool { if ( count ( $ this -> props [ 'items' ] ) <= $ limit ) { return false ; } $ this -> props [ 'items' ] = array_slice ( $ this -> props [ 'items' ] , 0 , $ limit ) ; return true ; }
Truncates the trace by a limit

@param int $limit
@return bool
Truncates the trace by a limit