public function setPermissionNames($any, $none, $user, $anon)
    {
        if ($any) {
            $this->any = $any;
        }
        if ($none) {
            $this->none = $none;
        }
        if ($user) {
            $this->user = $user;
        }
        if ($anon) {
            $this->anon = $anon;
        }
    }
public function setPermissionNames($any, $none, $user, $anon)
    {
        if ($any) {
            $this->any = $any;
        }
        if ($none) {
            $this->none = $none;
        }
        if ($user) {
            $this->user = $user;
        }
        if ($anon) {
            $this->anon = $anon;
        }
    }
public function setPermissionNames ( $ any , $ none , $ user , $ anon ) { if ( $ any ) { $ this -> any = $ any ; } if ( $ none ) { $ this -> none = $ none ; } if ( $ user ) { $ this -> user = $ user ; } if ( $ anon ) { $ this -> anon = $ anon ; } }
Set the names of the permissions to use for any, none, user and
anonymous rules. Set any of these to null to continue using the
current name.

@param string $any  The rule that allows any request
@param string $none The rule that blocks any request
@param string $user The rule that allows any authentication
@param string $anon The rule that allows anonymous access only
Set the names of the permissions to use for any none user and anonymous rules . Set any of these to null to continue using the current name .