0
I Use This!
Activity Not Available

Project Summary

PHP-based class generatorGiven a simple text-based description of a class, code generator will produce the following :

PHP class fileUser comments on class, property, and method level, suitable for use with PHPDocumentor Generated properties and methods with appropriate access access and class/instance type PHPUnit2 test case fileProvides stubs for testing all public methods of class Includes debug support Runs test cases as-is PHP class runner fileUse this to instantiate and experiment with classes Simple example file showing how to instantiate class and run all public methods

Sample input file

Uses mixture of Ruby-style notation for class members and UML accessor notation :

Simple case :

class MyClass
@+myPublicInstanceProperty
@@-myPrivateClassProperty
#=myProtectedInstanceMethod
##+myPublicClassMethodMore complete case :

class FirstTestClass
First comment line for class myTestClass
Second comment line for class myTestClass

@defaultProtectedInstanceProperty
First line of comments for defaultProtectedInstanceProperty
Second line of comments for defaultProtectedInstanceProperty

@-privateInstanceProperty
One line of comments

@=protectedInstanceProperty

@+publicInstanceProperty
First line of comments for publicInstanceProperty
Second line of comments for publicInstanceProperty

@@defaultProtectedClassProperty
First line of comments for defaultProtectedClassProperty
Second line of comments for defaultProtectedClassProperty

@@-privateClassProperty
One line of comments

@@=protectedClassProperty

@@+publicClassProperty
First line of comments for publicClassProperty
Second line of comments for publicClassProperty

#defaultProtectedInstanceMethod
First line of comments for defaultProtectedInstanceMethod
Second line of comments for defaultProtectedInstanceMethod

#-privateInstanceMethod
One line of comments

#=protectedInstanceMethod

#+publicInstanceMethod
First line of comments for publicInstanceMethod
Second line of comments for publicInstanceMethod

#defaultProtectedClassMethod
First line of comments for defaultProtectedClassMethod
Second line of comments for defaultProtectedClassMethod

#-privateClassMethod
One line of comments

#=protectedClassMethod

#+publicClassMethod
First line of comments for publicClassMethod
Second line of comments for publicClassMethod

Tags

code-generation php phpunit2

In a Nutshell, php-class-and-test-generator...

 No code available to analyze

Open Hub computes statistics on FOSS projects by examining source code and commit history in source code management systems. This project has no code locations, and so Open Hub cannot perform this analysis

Is this project's source code hosted in a publicly available repository? Do you know the URL? If you do, click the button below and tell us so that Open Hub can generate statistics! It's fast and easy - try it and see!

Add a code location

GNU General Public License v2.0 or later
Permitted

Place Warranty

Commercial Use

Modify

Distribute

Forbidden

Sub-License

Hold Liable

Required

Distribute Original

Include Copyright

State Changes

Include License

Disclose Source

These details are provided for information only. No information here is legal advice and should not be used as such.

All Licenses

This Project has No vulnerabilities Reported Against it

Did You Know...

  • ...
    Black Duck offers a free trial so you can discover if there are open source vulnerabilities in your code
  • ...
    search using multiple tags to find exactly what you need
  • ...
    nearly 1 in 3 companies have no process for identifying, tracking, or remediating known open source vulnerabilities
  • ...
    learn about Open Hub updates and features on the Open Hub blog

 No code available to analyze

Open Hub computes statistics on FOSS projects by examining source code and commit history in source code management systems. This project has no code locations, and so Open Hub cannot perform this analysis

Is this project's source code hosted in a publicly available repository? Do you know the URL? If you do, click the button below and tell us so that Open Hub can generate statistics! It's fast and easy - try it and see!

Add a code location

Community Rating

Be the first to rate this project
Click to add your rating
   Spinner
Review this Project!
Sample ohloh analysis