The Implementation is not found when method is implemented in a trait used in a class that implements the interface
an example:
interface EngineInterface
{
public function run(): void;
}
trait Engine
{
public function run(): void
{
echo "brum";
}
}
class Veichle implements EngineInterface
{
use Engine;
}
finding implementations for run() method inside the Engine Interface result in implementation not found instead of pointing on run() method inside the Engine trait
The Implementation is not found when method is implemented in a trait used in a class that implements the interface
an example:
finding implementations for run() method inside the Engine Interface result in implementation not found instead of pointing on run() method inside the Engine trait