Use a static method

http://ideone.com/WX91Fl