ARTICLE AD BOX
I know we can have:
<?php abstract class ExtendMe{ abstract public function implementMe(){} }Can we enforce trait usage?
<?php trait MyTrait{} abstract class ExtendMe{ abstract use MyTrait; } // ^ this obviously fails to compile // Parse error: syntax error, unexpected token "use", expecting variable in /home/user/scripts/code.php on line 5