PHP Classes

File: vendor/phpspec/prophecy/fixtures/WithReturnTypehints.php

Recommend this page to a friend!
  Classes of Renato Lucena   PHP Pokemon Script   vendor/phpspec/prophecy/fixtures/WithReturnTypehints.php   Download  
File: vendor/phpspec/prophecy/fixtures/WithReturnTypehints.php
Role: Class source
Content type: text/plain
Description: Class source
Class: PHP Pokemon Script
Provides an API to manage a database of Pokemons
Author: By
Last change:
Date: 6 years ago
Size: 300 bytes
 

Contents

Class file image Download
<?php

namespace Fixtures\Prophecy;

class
WithReturnTypehints extends EmptyClass
{
    public function
getSelf(): self {
        return
$this;
    }

    public function
getName(): string {
        return
__CLASS__;
    }
   
    public function
getParent(): parent {
        return
$this;
    }
}