src/Resolver.php
protected function _update(string $entityName, ?string $name = null, ?string $id = null): Pattern
    {
        return $this->pattern(
            $this->idAction($entityName, $id, 'edit'),
            $this->name($name, 'update')
        )->setMethods(['PUT', 'PATCH']);
    }
protected function _update(string $entityName, ?string $name = null, ?string $id = null): Pattern
    {
        return $this->pattern(
            $this->idAction($entityName, $id, 'edit'),
            $this->name($name, 'update')
        )->setMethods(['PUT', 'PATCH']);
    }
protected function _update ( string $ entityName , ? string $ name = null , ? string $ id = null ) : Pattern { return $ this -> pattern ( $ this -> idAction ( $ entityName , $ id , 'edit' ) , $ this -> name ( $ name , 'update' ) ) -> setMethods ( [ 'PUT' , 'PATCH' ] ) ; }
entityName -> /users

PUT/PATCH   users.update    /users/{id}/edit

@param string $entityName
@param null|string $name
@param null|string $id
@return Pattern
entityName - > / users