remove deprecated method to prepare for v6
Library structure update
properly using setter
restore deprecated methods
restore deprecated methods
restore composer.json
update setFlags documentation
Merge pull request #40 from thephpleague/dev

library is restructured using traits