src/Stevemo/Cpanel/Permission/Repo/Permission.php
public function getRules()
    {
        $perm = $this->permissions;
        $data = array();

        foreach ($perm as $val)
        {
            list($prefix,$data[]) = explode('.', $val);
        }

        return implode(',',$data);
    }
public function getRules()
    {
        $perm = $this->permissions;
        $data = array();

        foreach ($perm as $val)
        {
            list($prefix,$data[]) = explode('.', $val);
        }

        return implode(',',$data);
    }
public function getRules ( ) { $ perm = $ this -> permissions ; $ data = array ( ) ; foreach ( $ perm as $ val ) { list ( $ prefix , $ data [ ] ) = explode ( '.' , $ val ) ; } return implode ( ',' , $ data ) ; }
convert permissions into a comma separated string and remove the prefix

@author Steve Montambeault
@link   http://stevemo.ca

@return string
convert permissions into a comma separated string and remove the prefix