The Mouf PHP framework: an open-source PHP framework providing an easy way to download, install, use and reuse components, with a graphical user interface.
When a trait has a function that is a setter renamed, this messes up with Mouf completely.
Here is a sample:
use ChildrenTrait {
ChildrenTrait::setChildren as setChildrenTrue;
}
When looking at an instance, this creates this error:
Fatal error: Uncaught exception 'ReflectionException' with message 'Method Mouf\Html\Tags\ChildrenTrait::setChildrenTrue() does not exist' in /home/david/projects/mouf/mouf2/vendor/mouf/mouf/src/Mouf/Reflection/MoufReflectionParameter.php on line 60
When a trait has a function that is a setter renamed, this messes up with Mouf completely.
Here is a sample:
use ChildrenTrait { ChildrenTrait::setChildren as setChildrenTrue; }
When looking at an instance, this creates this error:
Fatal error: Uncaught exception 'ReflectionException' with message 'Method Mouf\Html\Tags\ChildrenTrait::setChildrenTrue() does not exist' in /home/david/projects/mouf/mouf2/vendor/mouf/mouf/src/Mouf/Reflection/MoufReflectionParameter.php on line 60