Created
May 25, 2012 18:49
-
-
Save adrienbrault/2789797 to your computer and use it in GitHub Desktop.
TimelineBundle suggestions
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
| // This feels weird, usually create returns a new instance or something like that | |
| $entry = new TimelineAction(); | |
| $entry->create($chuckNorrisObject, 'control', 'The world'); | |
| // This would be better | |
| $entry = TimelineAction::create($chuckNorrisObject, 'control', 'The world'); | |
| // Or maybe something more like that | |
| $entry = new TimelineAction(); | |
| $entry->configure/setup/fill/etc...($chuckNorrisObject, 'control', 'The world'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment