PHP Classes

File: src/Contracts/Managers/EncodingManagerInterface.php

Recommend this page to a friend!
  Packages of Amirreza Ebrahimi   HeroQR Powerful PHP QR Code Library to generate PNG, SVG, PDF, Logos Ready to Use with Laravel   src/Contracts/Managers/EncodingManagerInterface.php   Download  
File: src/Contracts/Managers/EncodingManagerInterface.php
Role: Class source
Content type: text/plain
Description: Class source
Class: HeroQR Powerful PHP QR Code Library to generate PNG, SVG, PDF, Logos Ready to Use with Laravel
Generate QR code images in several formats
Author: By
Last change: Update of src/Contracts/Managers/EncodingManagerInterface.php
Date: 6 months ago
Size: 809 bytes
 

Contents

Class file image Download
<?php

namespace HeroQR\Contracts\Managers;

use
Endroid\QrCode\Encoding\EncodingInterface;

/**
 * Interface ColorManagerInterface
 *
 * Defines the contract for managing QR code colors, including the main color,
 * background color, and label color. Each method allows setting and retrieving
 * color values, ensuring consistency and flexibility in QR code customization.
 *
 * @package HeroQR\Contracts\Managers
 */
interface EncodingManagerInterface
{
   
/**
     * Get the current encoding
     *
     * @return EncodingInterface
     */
   
public function getEncoding(): EncodingInterface;

   
/**
     * Set a new encoding
     *
     * @param string $encoding The desired encoding (e.g., 'UTF-8', 'ISO-8859-1')
     * @return void
     */
   
public function setEncoding(string $encoding): void;
}