Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/samuell/getter-and-setter-generator

Getter and Setter generator - Generates corresponding methods based on existing variable names. Variable name to be autogeneratoedmust follow the naming convention "$mVariableName" where "$m" tells the generator which variable to have a get or set-method.
https://github.com/samuell/getter-and-setter-generator

Last synced: about 2 months ago
JSON representation

Getter and Setter generator - Generates corresponding methods based on existing variable names. Variable name to be autogeneratoedmust follow the naming convention "$mVariableName" where "$m" tells the generator which variable to have a get or set-method.

Awesome Lists containing this project

README

        

== Basic info ==

Author: Samuel Lampa

Language: PHP 5

== Getter and Setter generator ==

Snaps up any variables of the form $mVariableName and produces getter and setter functions, looking like this:

public function getVariableName() {

return $this->mVariableName;

}

public function setVariableName( $variableName ) {

$this->mVariableName = $variableName;

}