PhpSandbox\SandboxedString::__construct PHP Method

__construct() public method

Constructs the SandboxedString
public __construct ( string $value, PHPSandbox $sandbox )
$value string Original string value
$sandbox PHPSandbox The current sandbox instance to test against
    public function __construct($value, PHPSandbox $sandbox)
    {
        $this->value = $value;
        $this->sandbox = $sandbox;
    }