Anons79 Mini Shell

Directory : /home/aplikasiposinfo/www/e-tepian.aplikasipos.info/vendor/intervention/gif/src/
Upload File :
Current File : /home/aplikasiposinfo/www/e-tepian.aplikasipos.info/vendor/intervention/gif/src/AbstractEntity.php

<?php

declare(strict_types=1);

namespace Intervention\Gif;

use Intervention\Gif\Exceptions\EncoderException;
use Intervention\Gif\Traits\CanDecode;
use Intervention\Gif\Traits\CanEncode;
use ReflectionClass;
use Stringable;

abstract class AbstractEntity implements Stringable
{
    use CanEncode;
    use CanDecode;

    public const TERMINATOR = "\x00";

    /**
     * Get short classname of current instance
     *
     * @return string
     */
    public static function getShortClassname(): string
    {
        return (new ReflectionClass(static::class))->getShortName();
    }

    /**
     * Cast object to string
     *
     * @throws EncoderException
     * @return string
     */
    public function __toString(): string
    {
        return $this->encode();
    }
}

Anons79 File Manager Version 1.0, Coded By Anons79
Email: [email protected]