HEX
Server: Microsoft-IIS/8.5
System: Windows NT YDAWBH120 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) AMD64
User: tentjecom_web (0)
PHP: 7.4.14
Disabled: NONE
Upload Files
File: D:/HostingSpaces/SBogers85/equichecker.com/vendor/gregwar/image/Gregwar/Image/Adapter/Adapter.php
<?php

namespace Gregwar\Image\Adapter;

use Gregwar\Image\Source\Source;

/**
 * Base Adapter Implementation to handle Image information
 */
abstract class Adapter implements AdapterInterface
{
	/**
	 * @var Source
	 */
	protected $source;

	/**
	 * The image resource handler
	 */
	protected $resource;

	public function __construct(){

	}

	/**
	 * @inheritdoc
	 */
	public function setSource(Source $source)
    {
        $this->source = $source;

		return $this;
    }

	/**
	 * @inheritdoc
	 */
	public function getResource()
	{
		return $this->resource;
	}

    /**
     * Does this adapter supports the given type ?
     */
    protected function supports($type)
    {
        return false;
    }

    /**
     * Converts the image to true color
     */
    protected function convertToTrueColor()
    {
    }
}