public static function onlyTrash()
    {
        $class = get_called_class();
        $object = new $class();
        $table = $object->_table;
        $key = $object->_keyName;
        //
        $data = Query::table($table)->select('*');
        //
        if ($object->_canKept) {
            $data = $data->where('deleted_at', '<=', Time::current());
        }
        //
        $data = $data->get(Query::GET_ARRAY);
        //
        return self::collect($data, $table, $key);
    }
public static function onlyTrash()
    {
        $class = get_called_class();
        $object = new $class();
        $table = $object->_table;
        $key = $object->_keyName;
        //
        $data = Query::table($table)->select('*');
        //
        if ($object->_canKept) {
            $data = $data->where('deleted_at', '<=', Time::current());
        }
        //
        $data = $data->get(Query::GET_ARRAY);
        //
        return self::collect($data, $table, $key);
    }
public static function onlyTrash ( ) { $ class = get_called_class ( ) ; $ object = new $ class ( ) ; $ table = $ object -> _table ; $ key = $ object -> _keyName ; // $ data = Query :: table ( $ table ) -> select ( '*' ) ; // if ( $ object -> _canKept ) { $ data = $ data -> where ( 'deleted_at' , '<=' , Time :: current ( ) ) ; } // $ data = $ data -> get ( Query :: GET_ARRAY ) ; // return self :: collect ( $ data , $ table , $ key ) ; }
get collection of all kept data of the model from data table.

@return Collection
get collection of all kept data of the model from data table .