BotaxWebshell
Server IP : 68.178.172.28  /  Your IP : 216.73.217.169
Web Server : Apache
System : Linux 28.172.178.68.host.secureserver.net 4.18.0-553.125.1.el8_10.x86_64 #1 SMP Wed May 20 11:06:10 EDT 2026 x86_64
User : kiskarnal ( 1003)
PHP Version : 8.3.31
Disable Function : NONE
MySQL : OFF |  cURL : OFF |  WGET : ON |  Perl : ON |  Python : ON |  Sudo : ON |  Pkexec : ON
Directory :  /home/kiskarnal/public_html/vendor/phar-io/manifest/src/values/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : /home/kiskarnal/public_html/vendor/phar-io/manifest/src/values/Email.php
<?php declare(strict_types = 1);
/*
 * This file is part of PharIo\Manifest.
 *
 * (c) Arne Blankerts <arne@blankerts.de>, Sebastian Heuer <sebastian@phpeople.de>, Sebastian Bergmann <sebastian@phpunit.de>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */
namespace PharIo\Manifest;

class Email {
    /** @var string */
    private $email;

    public function __construct(string $email) {
        $this->ensureEmailIsValid($email);

        $this->email = $email;
    }

    public function asString(): string {
        return $this->email;
    }

    private function ensureEmailIsValid(string $url): void {
        if (\filter_var($url, \FILTER_VALIDATE_EMAIL) === false) {
            throw new InvalidEmailException;
        }
    }
}

Youez - 2016 - github.com/yon3zu
LinuXploit