Skip to content

SecondTestClass

dimezilla edited this page Aug 27, 2018 · 2 revisions

SecondTestClass

\DimeZilla\Test\SecondTestClass

file: /SecondTestClass.php

namespace: \DimeZilla\Test

This class does a lot of really awesome things I promise you!

Properties:

protected static $instance

  • visibility: protected
  • type: static
  • default:

Stores the instance

public $hey

  • visibility: public
  • type: string
  • default: "What up boss?"

Just a simple hey property to say hi.

Methods:

public static getInstance

Gets our static instance

::getInstance( object $something = null, string $name = 'Howard' ): static

description: A singleton factory creation

PARAMETERS:

$something

  • type: object
  • descrption: argument.description

$name

  • type: string
  • descrption: argument.description

RETURNS: static

an instance of the class


public static sayMyName

Echos out our name.

::sayMyName(  ): void

RETURNS: void


Documentation was generated from source code comments on 2018-08-27 using phpDocumentor and dimezilla/php-doc-markdown


Clone this wiki locally