Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/samuell/getter-and-setter-generator
- Owner: samuell
- Created: 2011-10-31T21:24:59.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2011-11-04T17:22:19.000Z (about 13 years ago)
- Last Synced: 2024-10-08T20:02:48.216Z (3 months ago)
- Language: PHP
- Homepage:
- Size: 85.9 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.mediawiki
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;
}