programmieren:cakephp:traits
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| programmieren:cakephp:traits [2026/09/18 16:28] – traits admin | programmieren:cakephp:traits [2026/09/18 16:32] (current) – multiple admin | ||
|---|---|---|---|
| Line 8: | Line 8: | ||
| use SomeRandomTrait; | use SomeRandomTrait; | ||
| </ | </ | ||
| + | |||
| + | You can do it for multiple traits. | ||
| This basically makes the traits code part of the class, so if the trait has a function called '' | This basically makes the traits code part of the class, so if the trait has a function called '' | ||
programmieren/cakephp/traits.1789741731.txt.gz · Last modified: by admin
