File: tests/StructArrayObject.php

Recommend this page to a friend!
  Classes of WsdlToPhp  >  Package Base  >  tests/StructArrayObject.php  >  Download  
File: tests/StructArrayObject.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: 1 month ago
Size: 466 bytes
 

Contents

Class file image Download
<?php

declare(strict_types=1);

namespace
WsdlToPhp\PackageBase\Tests;

use
WsdlToPhp\PackageBase\AbstractStructArrayBase;

class
StructArrayObject extends AbstractStructArrayBase
{
    public
$foo;

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

        return
$this;
    }

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

    public function
getAttributeName(): string
   
{
        return
'foo';
    }
}


For more information send a message to info at phpclasses dot org.