I wont to dynamically add trait in object. Can I do it?
For example i have $object;
$object
$object->setTrait($someTrait);
Thanks for help.
Aucun commentaire:
Enregistrer un commentaire