2 The clone generator clones controllers, models and views.
4 The generator takes a the singular name for desired controller and related model,
5 and as second parameter it takes the singular name for desired set of clones
8 >> generate clone PaymentMethod CreditCard
10 Credit card controller with URLs like /credit_card/debit.
12 Controller: app/controllers/credit_card_controller.php
13 Views: app/views/credit_card/debit.tpl [...]
14 Helper: app/helpers/credit_card_helper.tpl
15 Test: test/functional/test_CreditCardController.php
16 Model: app/models/credit_card.php
17 Test: test/unit/credit_card.php
18 Fixtures: test/fixtures/credit_cards.yml