So sorry to disappoint, but latest techniques are at least a half century old.
#1 Ground the emitter, add a pullup to the collector, shine a light on the base, and then turn it off. Output on the collector is inverted; it is low for light
#2 Connect the collector to Vcc, add a pulldown resistor to the emitter, shine a light on the base, and then turn it off. Output on the emitter is true; it is high for light.