This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php namespace Acme\Foo\Form; | |
| use Anomaly\Streams\Platform\Ui\Form\FormBuilder; | |
| class FooFormBuilder extends FormBuilder | |
| { | |
| /** | |
| * Define your property normally. | |
| */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php namespace Acme; | |
| use Anomaly\Streams\Platform\Entry\EntryModel; | |
| class FooModel extends EntryModel | |
| { | |
| /** | |
| * Return a new model collection. | |
| * |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| src/ | |
| Foo/FooModel | |
| Foo/FooCollection // Transformed collection for FooModel | |
| Foo/FooPresenter // Transformed presenter for FooModel | |
| Foo/FooObserver // Observers can not be transformed | |
| Foo/Table/FooTableBuilder // Assumes Foo/FooModel for $model property | |
| Foo/Table/FooTableColumns // Handler for FooTableBuilder->columns | |
| Foo/Form/FooFormBuilder // Assumes Foo/FooModel for $model property | |
| Foo/Form/FooFormSections // Handler for FooFormBuilder->sections |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php namespace Acme; | |
| /** | |
| * Class FooBar | |
| * | |
| * @link http://anomaly.is/foo-bar | |
| * @author AnomalyLabs, Inc. <[email protected]> | |
| * @author Ryan Thompson <[email protected]> | |
| * @package Acme | |
| */ |
NewerOlder