Spamworldpro Mini Shell
Spamworldpro


Server : Apache
System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64
User : corals ( 1002)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system
Directory :  /home/corals/old/vendor/php-webdriver/webdriver/lib/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/corals/old/vendor/php-webdriver/webdriver/lib/WebDriverDimension.php
<?php

namespace Facebook\WebDriver;

/**
 * Represent a dimension.
 */
class WebDriverDimension
{
    /**
     * @var int|float
     */
    private $height;
    /**
     * @var int|float
     */
    private $width;

    /**
     * @param int|float $width
     * @param int|float $height
     */
    public function __construct($width, $height)
    {
        $this->width = $width;
        $this->height = $height;
    }

    /**
     * Get the height.
     *
     * @return int The height.
     */
    public function getHeight()
    {
        return (int) $this->height;
    }

    /**
     * Get the width.
     *
     * @return int The width.
     */
    public function getWidth()
    {
        return (int) $this->width;
    }

    /**
     * Check whether the given dimension is the same as the instance.
     *
     * @param WebDriverDimension $dimension The dimension to be compared with.
     * @return bool Whether the height and the width are the same as the instance.
     */
    public function equals(self $dimension)
    {
        return $this->height === $dimension->getHeight() && $this->width === $dimension->getWidth();
    }
}

Spamworldpro Mini