PHP Classes

File: tests/resources/PhpFileTest_SimpleInterfaceToString.php

Recommend this page to a friend!
  Classes of WsdlToPhp   PHP Code Generator   tests/resources/PhpFileTest_SimpleInterfaceToString.php   Download  
File: tests/resources/PhpFileTest_SimpleInterfaceToString.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: 3 years ago
Size: 809 bytes
 

Contents

Class file image Download
<?php

declare(strict_types=1);

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;

interface
Foo extends stdClass
{
   
/**
     * @var string
     */
   
const FOO = 'theValue';
   
/**
     * @var string
     */
   
const BAR = 'theOtherValue';
   
/**
     * @var int
     */
    /**
     * @var bool
     */
    /**
     * 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);
}