{"id":15970785,"url":"https://github.com/samuell/getter-and-setter-generator","last_synced_at":"2025-06-25T08:37:31.982Z","repository":{"id":1766718,"uuid":"2683769","full_name":"samuell/getter-and-setter-generator","owner":"samuell","description":"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. ","archived":false,"fork":false,"pushed_at":"2011-11-04T17:22:19.000Z","size":88,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-17T04:31:52.364Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/samuell.png","metadata":{"files":{"readme":"README.mediawiki","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2011-10-31T21:24:59.000Z","updated_at":"2014-04-22T19:21:33.000Z","dependencies_parsed_at":"2022-09-15T01:20:12.041Z","dependency_job_id":null,"html_url":"https://github.com/samuell/getter-and-setter-generator","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samuell%2Fgetter-and-setter-generator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samuell%2Fgetter-and-setter-generator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samuell%2Fgetter-and-setter-generator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samuell%2Fgetter-and-setter-generator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/samuell","download_url":"https://codeload.github.com/samuell/getter-and-setter-generator/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242269331,"owners_count":20100076,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-07T20:02:57.025Z","updated_at":"2025-03-06T19:18:43.291Z","avatar_url":"https://github.com/samuell.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"== Basic info ==\n\nAuthor: Samuel Lampa\u003cbr\u003e\nLanguage: PHP 5\n\n== Getter and Setter generator ==\n\nSnaps up any variables of the form \u003ccode\u003e$mVariableName\u003c/code\u003e and produces getter and setter functions, looking like this:\n\n\u003ccode\u003epublic function getVariableName() { \u003c/code\u003e\u003cbr\u003e\n\u003ccode\u003e    return $this-\u003emVariableName;\u003c/code\u003e\u003cbr\u003e\n\u003ccode\u003e}\u003c/code\u003e\u003cbr\u003e\n\u003ccode\u003epublic function setVariableName( $variableName ) { \u003c/code\u003e\u003cbr\u003e\n\u003ccode\u003e    $this-\u003emVariableName = $variableName;\u003c/code\u003e\u003cbr\u003e\n\u003ccode\u003e}\u003c/code\u003e\u003cbr\u003e\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamuell%2Fgetter-and-setter-generator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsamuell%2Fgetter-and-setter-generator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamuell%2Fgetter-and-setter-generator/lists"}