Added public modifiers to SensorInterface methods.
Use bool rather than boolean as type declaration in PHPDoc comment in SensorInterface.