{"comment":{"url":"https://api.github.com/repos/Faryshta/yii2-enum/comments/14661344","html_url":"https://github.com/Faryshta/yii2-enum/commit/59c5c8285c153c4adca2afeb860fe5c0d4c76fd0#commitcomment-14661344","id":14661344,"user":{"login":"Faryshta","id":2029247,"avatar_url":"https://avatars.githubusercontent.com/u/2029247?v=3","gravatar_id":"","url":"https://api.github.com/users/Faryshta","html_url":"https://github.com/Faryshta","followers_url":"https://api.github.com/users/Faryshta/followers","following_url":"https://api.github.com/users/Faryshta/following{/other_user}","gists_url":"https://api.github.com/users/Faryshta/gists{/gist_id}","starred_url":"https://api.github.com/users/Faryshta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Faryshta/subscriptions","organizations_url":"https://api.github.com/users/Faryshta/orgs","repos_url":"https://api.github.com/users/Faryshta/repos","events_url":"https://api.github.com/users/Faryshta/events{/privacy}","received_events_url":"https://api.github.com/users/Faryshta/received_events","type":"User","site_admin":false},"position":95,"line":95,"path":"base/EnumTrait.php","commit_id":"59c5c8285c153c4adca2afeb860fe5c0d4c76fd0","created_at":"2015-11-27T21:58:41Z","updated_at":"2015-11-27T21:58:41Z","body":"the problem is that it won't be always about attributes and an attribute might have many enums associated.\r\n\r\nThink about an `status` it can have a normal enum `status` with the details of the name of each status. It can also have another enum `status_button` with an html button like `<span class=\"success\">Complete</span>` and an `status_descripction` with a long text description about what each status means."}}