Skip to content

TestClass

dimezilla edited this page Aug 27, 2018 · 2 revisions

TestClass

\DimeZilla\Test\TestClass

file: /TestClass.php

namespace: \DimeZilla\Test

This class is a bunch of empty functions just to test our comments.

Properties:

protected $message

  • visibility: protected
  • type: string
  • default: ''

Stores our message

Methods:

public __construct

Instantiates the class with a message.

::__construct( string $message = '' ): void

PARAMETERS:

$message

  • type: string
  • descrption: argument.description

RETURNS: void

there's not really anything to return in construct


public sayMessage

Echoes out our message

::sayMessage(  ): void

description: Gets the message from the class and echos is out

RETURNS: void

See Also:

  • \DimeZilla\Test\yoMamma - is what you should see! Hah!

protected getMessage

Returns our message

::getMessage(  ): string

RETURNS: string


private translateMessage

Translates our message to amy language

::translateMessage( string $lang ): string

PARAMETERS:

$lang

  • type: string
  • descrption: argument.description

RETURNS: string


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


Clone this wiki locally