PHP - Interfaces and Traits
What will be the output of the following code?
interface Colors {
const RED = 'red';
}
class Paint implements Colors {
public function getColor() {
return self::RED;
}
}
$paint = new Paint();
echo $paint->getColor();