__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

www-data@216.73.216.10: ~ $
<?php

declare(strict_types=1);

namespace OpenSpout\Common\Entity\Style;

use OpenSpout\Writer\Exception\Border\InvalidNameException;
use OpenSpout\Writer\Exception\Border\InvalidStyleException;
use OpenSpout\Writer\Exception\Border\InvalidWidthException;

final class BorderPart
{
    public const allowedStyles = [
        Border::STYLE_NONE,
        Border::STYLE_SOLID,
        Border::STYLE_DASHED,
        Border::STYLE_DOTTED,
        Border::STYLE_DOUBLE,
    ];

    public const allowedNames = [
        Border::LEFT,
        Border::RIGHT,
        Border::TOP,
        Border::BOTTOM,
    ];

    public const allowedWidths = [
        Border::WIDTH_THIN,
        Border::WIDTH_MEDIUM,
        Border::WIDTH_THICK,
    ];

    private readonly string $style;
    private readonly string $name;
    private readonly string $color;
    private readonly string $width;

    /**
     * @param string $name  @see  BorderPart::allowedNames
     * @param string $color A RGB color code
     * @param string $width @see BorderPart::allowedWidths
     * @param string $style @see BorderPart::allowedStyles
     *
     * @throws InvalidNameException
     * @throws InvalidStyleException
     * @throws InvalidWidthException
     */
    public function __construct(
        string $name,
        string $color = Color::BLACK,
        string $width = Border::WIDTH_MEDIUM,
        string $style = Border::STYLE_SOLID
    ) {
        if (!\in_array($name, self::allowedNames, true)) {
            throw new InvalidNameException($name);
        }
        if (!\in_array($style, self::allowedStyles, true)) {
            throw new InvalidStyleException($style);
        }
        if (!\in_array($width, self::allowedWidths, true)) {
            throw new InvalidWidthException($width);
        }

        $this->name = $name;
        $this->color = $color;
        $this->width = $width;
        $this->style = $style;
    }

    public function getName(): string
    {
        return $this->name;
    }

    public function getStyle(): string
    {
        return $this->style;
    }

    public function getColor(): string
    {
        return $this->color;
    }

    public function getWidth(): string
    {
        return $this->width;
    }
}

Filemanager

Name Type Size Permission Actions
Border.php File 1.04 KB 0777
BorderPart.php File 2.19 KB 0777
CellAlignment.php File 685 B 0777
CellVerticalAlignment.php File 931 B 0777
Color.php File 2.58 KB 0777
Style.php File 10.91 KB 0777
Filemanager