403Webshell
Server IP : 85.158.181.41  /  Your IP : 216.73.217.12
Web Server : Apache
System : Linux cloud9-vm129 6.1.178+1-ph #ph SMP PREEMPT_DYNAMIC Wed Jul 29 09:00:54 UTC 2026 x86_64
User : moncbefd ( 1024)
PHP Version : 7.3.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/moncbefd/www.moneta.at/GXEngine/Shared/Types/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/moncbefd/www.moneta.at/GXEngine/Shared/Types//NonEmptyStringType.inc.php
<?php

/* --------------------------------------------------------------
   NonEmptyStringType.inc.php 2015-11-19
   Gambio GmbH
   http://www.gambio.de
   Copyright (c) 2015 Gambio GmbH
   Released under the GNU General Public License (Version 2)
   [http://www.gnu.org/licenses/gpl-2.0.html]
   --------------------------------------------------------------
*/

/**
 * Class NonEmptyStringType
 *
 * Shared string type class. Use the "asString" method for getting the plain value.
 *
 * Notice: The constructor value must not be empty!
 *
 * @category   System
 * @package    Shared
 * @subpackage Types
 */
class NonEmptyStringType extends StringType
{
    /**
     * Class Constructor
     *
     * @param string $p_value Must not be empty.
     *
     * @throws InvalidArgumentException
     */
    public function __construct($p_value)
    {
        parent::__construct($p_value);
        
        if (empty($p_value)) {
            throw new InvalidArgumentException('NonEmptyStringType: Invalid argument value given (expected non-empty '
                                               . ' string got ' . gettype($p_value) . '): ' . $p_value);
        }
    }
}

Youez - 2016 - github.com/yon3zu
LinuXploit