public function getEmailTemplatesFromRepository()
    {
        $today = Carbon::today()->toDateString();

        return $this->bannedEmailsRepository
                        ->datatable(['email'])
                        ->where('expired_at', '>', $today)
                        ->pluck('email');
    }
public function getEmailTemplatesFromRepository()
    {
        $today = Carbon::today()->toDateString();

        return $this->bannedEmailsRepository
                        ->datatable(['email'])
                        ->where('expired_at', '>', $today)
                        ->pluck('email');
    }
public function getEmailTemplatesFromRepository ( ) { $ today = Carbon :: today ( ) -> toDateString ( ) ; return $ this -> bannedEmailsRepository -> datatable ( [ 'email' ] ) -> where ( 'expired_at' , '>' , $ today ) -> pluck ( 'email' ) ; }
Returns the fresh email templates from the repository.

@return \Illuminate\Support\Collection
Returns the fresh email templates from the repository .