No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
config
src
.gitignore
.hhconfig
LICENSE
README.md
composer.json
hh_autoload.json

README.md

Codegen example

Installing packages

"require": {
  "hhvm/hhvm-autoload": "^1.5"
},
"require-dev": {
  "hhpack/codegen": "^0.2.0"
},

Basic usage

vendor/bin/codegen -h

Generate class file

vendor/bin/codegen package:class [CLASS_NAME]

Generate test class file

vendor/bin/codegen package:testclass [TEST_CLASS_NAME]