add singleton pattern
Merge branch 'master' of github.com:dzyanis/patterns-php