{"action":"created","issue":{"url":"https://api.github.com/repos/nikic/PHP-Parser/issues/62","labels_url":"https://api.github.com/repos/nikic/PHP-Parser/issues/62/labels{/name}","comments_url":"https://api.github.com/repos/nikic/PHP-Parser/issues/62/comments","events_url":"https://api.github.com/repos/nikic/PHP-Parser/issues/62/events","html_url":"https://github.com/nikic/PHP-Parser/issues/62","id":14665410,"number":62,"title":"Feature request: add builders for namespace, use, and traits.","user":{"login":"hinikato","id":850749,"avatar_url":"https://avatars.githubusercontent.com/u/850749?v=3","gravatar_id":"","url":"https://api.github.com/users/hinikato","html_url":"https://github.com/hinikato","followers_url":"https://api.github.com/users/hinikato/followers","following_url":"https://api.github.com/users/hinikato/following{/other_user}","gists_url":"https://api.github.com/users/hinikato/gists{/gist_id}","starred_url":"https://api.github.com/users/hinikato/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hinikato/subscriptions","organizations_url":"https://api.github.com/users/hinikato/orgs","repos_url":"https://api.github.com/users/hinikato/repos","events_url":"https://api.github.com/users/hinikato/events{/privacy}","received_events_url":"https://api.github.com/users/hinikato/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2013-05-23T09:32:14Z","updated_at":"2015-03-10T15:10:01Z","closed_at":"2015-03-10T15:10:01Z","body":"I have similar to #61 feature request: It would be nice to add builders for namespace and use statements as well to add a capability to generate a whole PHP file: https://github.com/myak/framework/blob/master/lib/Myak/Code/CodeGenerator.php (see ns() and uses() methods). Probably builder for traits would be also useful. "},"comment":{"url":"https://api.github.com/repos/nikic/PHP-Parser/issues/comments/78073921","html_url":"https://github.com/nikic/PHP-Parser/issues/62#issuecomment-78073921","issue_url":"https://api.github.com/repos/nikic/PHP-Parser/issues/62","id":78073921,"user":{"login":"nikic","id":216080,"avatar_url":"https://avatars.githubusercontent.com/u/216080?v=3","gravatar_id":"","url":"https://api.github.com/users/nikic","html_url":"https://github.com/nikic","followers_url":"https://api.github.com/users/nikic/followers","following_url":"https://api.github.com/users/nikic/following{/other_user}","gists_url":"https://api.github.com/users/nikic/gists{/gist_id}","starred_url":"https://api.github.com/users/nikic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nikic/subscriptions","organizations_url":"https://api.github.com/users/nikic/orgs","repos_url":"https://api.github.com/users/nikic/repos","events_url":"https://api.github.com/users/nikic/events{/privacy}","received_events_url":"https://api.github.com/users/nikic/received_events","type":"User","site_admin":false},"created_at":"2015-03-10T15:10:01Z","updated_at":"2015-03-10T15:10:01Z","body":"\"Use\" builder added as well in https://github.com/nikic/PHP-Parser/commit/0c34706799d298864a8e0cd4b1cb3eff710540bc, so closing this FR."}}