PHP izzum\examples\trafficlight TrafficLight - 1 пример найден. Это лучшие примеры PHP кода для izzum\examples\trafficlight\TrafficLight, полученные из open source проектов. Вы можете ставить оценку каждому примеру, чтобы помочь нам улучшить качество примеров.
It has a unique identifier, the color it is currently on and the time since
the last switch.
- the Rule will query it for information (isReadyToSwitch)
- the Commands will manipulate the object to set it's color