PHP Classes

File: tests/StructObject.php

Recommend this page to a friend!
  Packages of WsdlToPhp   Package Base   tests/StructObject.php   Download  
File: tests/StructObject.php
Role: Unit test script
Content type: text/plain
Description: Unit test script
Class: Package Base
Base classes for implementing a package generator
Author: By
Last change: issue #32 - migrate to PHP >= 7.4
Date: 5 years ago
Size: 546 bytes
 

 

Contents

Class file image Download
<?php

declare(strict_types=1);

namespace WsdlToPhp\PackageBase\Tests;

use WsdlToPhp\PackageBase\AbstractStructBase;

class StructObject extends AbstractStructBase
{
    public $foo;
    public $bar;

    public function setFoo($foo): self
    {
        $this->foo = $foo;

        return $this;
    }

    public function getFoo()
    {
        return $this->foo;
    }

    public function setBar($bar): self
    {
        $this->bar = $bar;

        return $this;
    }

    public function getBar()
    {
        return $this->bar;
    }
}