protected function getUpdateAccessControlEntrySql($pk, array $sets)
    {
        if (0 === count($sets)) {
            throw new \InvalidArgumentException('There are no changes.');
        }

        return sprintf(
            'UPDATE %s SET %s WHERE id = %d',
            $this->options['entry_table_name'],
            implode(', ', $sets),
            $pk
        );
    }
protected function getUpdateAccessControlEntrySql($pk, array $sets)
    {
        if (0 === count($sets)) {
            throw new \InvalidArgumentException('There are no changes.');
        }

        return sprintf(
            'UPDATE %s SET %s WHERE id = %d',
            $this->options['entry_table_name'],
            implode(', ', $sets),
            $pk
        );
    }
protected function getUpdateAccessControlEntrySql ( $ pk , array $ sets ) { if ( 0 === count ( $ sets ) ) { throw new \ InvalidArgumentException ( 'There are no changes.' ) ; } return sprintf ( 'UPDATE %s SET %s WHERE id = %d' , $ this -> options [ 'entry_table_name' ] , implode ( ', ' , $ sets ) , $ pk ) ; }
Constructs the SQL for updating an ACE.

@param int   $pk
@param array $sets

@throws \InvalidArgumentException

@return string
Constructs the SQL for updating an ACE .