Just a quick comment.
While does feels very similar to can in this case, it will future-proof things since does('SomeTrait') can indicate the ability to do many methods, while can('some_method') can only ever indicate one.
In reply to Re^3: OO design: abstract class or can()?
by stvn
in thread OO design: abstract class or can()?
by perrin
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |