grom358/pharborist — pull request #123 by phenaproxima (2014-09-16 16:00:36+00:00)
Title: setVisibility() can accept visibility constants or strings

This patch (with tests accourse) allows VisiblityTrait::setVisibility() to accept the strings 'private', 'public', or 'protected', or the constants T_PRIVATE, T_PUBLIC, T_PROTECTED...or an existing TokenNode.