private function addExpiration(
        &$filters = [],
        \DateTime $dateSend = null
    ) {
        if ($filters) {
            $expiration = $dateSend ? $dateSend : new \DateTime();
            $expiration = $expiration->getTimestamp();
            foreach ($filters as &$filter) {
                $filter['exclusive_expire_date'] = $expiration;
            }
        }
    }
private function addExpiration(
        &$filters = [],
        \DateTime $dateSend = null
    ) {
        if ($filters) {
            $expiration = $dateSend ? $dateSend : new \DateTime();
            $expiration = $expiration->getTimestamp();
            foreach ($filters as &$filter) {
                $filter['exclusive_expire_date'] = $expiration;
            }
        }
    }
private function addExpiration ( & $ filters = [ ] , \ DateTime $ dateSend = null ) { if ( $ filters ) { $ expiration = $ dateSend ? $ dateSend : new \ DateTime ( ) ; $ expiration = $ expiration -> getTimestamp ( ) ; foreach ( $ filters as & $ filter ) { $ filter [ 'exclusive_expire_date' ] = $ expiration ; } } }
Add Exclusion Expiration date.

@param array          $filters
@param \DateTime|null $dateSend

@throws \Exception
Add Exclusion Expiration date .