File: tests/resources/PhpFileTest_SimpleClassToString.php

Recommend this page to a friend!
  Classes of WsdlToPhp  >  PHP Code Generator  >  tests/resources/PhpFileTest_SimpleClassToString.php  >  Download  
File: tests/resources/PhpFileTest_SimpleClassToString.php
Role: Unit test script
Content type: text/plain
Description: Unit test script
Class: PHP Code Generator
Generate PHP code elements programatically
Author: By
Last change: Implement declare statement,
Code requires PHP 7.4,
Code cleaning and various tests
Date: 1 month ago
Size: 902 bytes
 

Contents

Class file image Download
<?php

declare(strict_types=1, encoding='UTF-8');

namespace
My\Testing\NamespaceName;

use
My\Testing\ParentNamespace\Model;
use
My\Testing\ParentNamespace\Repository;
use
My\Testing\ParentNamespace\Generator;
use
My\Testing\ParentNamespace\Foo as FooType;

abstract class
Foo extends stdClass
{
   
/**
     * @var string
     */
   
const FOO = 'theValue';
   
/**
     * @var string
     */
   
const BAR = 'theOtherValue';
   
/**
     * @var int
     */
   
public $bar = 1;
   
/**
     * @var bool
     */
   
public $sample = true;
   
/**
     * This method is very useful
     * @date 2012-03-01
     * @return mixed
     */
   
public function getMyValue($asString = true, $unusedParameter)
    {
    }
   
/**
     * This method is very useless
     * @date 2012-03-01
     * @return void
     */
   
public function uselessMethod($uselessParameter = null, $unusedParameter)
    {
    }
}


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