public function findOnlyTrashed(Query $query, array $options)
    {
        return $query->andWhere($query->newExpr()->isNotNull($this->getTrashField()));
    }
public function findOnlyTrashed(Query $query, array $options)
    {
        return $query->andWhere($query->newExpr()->isNotNull($this->getTrashField()));
    }
public function findOnlyTrashed ( Query $ query , array $ options ) { return $ query -> andWhere ( $ query -> newExpr ( ) -> isNotNull ( $ this -> getTrashField ( ) ) ) ; }
Custom finder to get only the `trashed` rows.

@param \Cake\ORM\Query $query Query.
@param array $options Options.
@return \Cake\ORM\Query
Custom finder to get only the trashed rows .