src/Conductors/SyncsRolesAndAbilities.php
public function roles($roles)
    {
        $this->sync(
            Models::role()->getRoleKeys($roles),
            $this->authority->roles()
        );
    }
public function roles($roles)
    {
        $this->sync(
            Models::role()->getRoleKeys($roles),
            $this->authority->roles()
        );
    }
public function roles ( $ roles ) { $ this -> sync ( Models :: role ( ) -> getRoleKeys ( $ roles ) , $ this -> authority -> roles ( ) ) ; }
Sync the provided roles to the authority.

@param  iterable  $roles
@return void
Sync the provided roles to the authority .