protected function getDeleteSecurityIdentityIdSql(SecurityIdentityInterface $sid)
    {
        $select = $this->getSelectSecurityIdentityIdSql($sid);
        $delete = preg_replace('/^SELECT id FROM/', 'DELETE FROM', $select);

        return $delete;
    }
protected function getDeleteSecurityIdentityIdSql(SecurityIdentityInterface $sid)
    {
        $select = $this->getSelectSecurityIdentityIdSql($sid);
        $delete = preg_replace('/^SELECT id FROM/', 'DELETE FROM', $select);

        return $delete;
    }
protected function getDeleteSecurityIdentityIdSql ( SecurityIdentityInterface $ sid ) { $ select = $ this -> getSelectSecurityIdentityIdSql ( $ sid ) ; $ delete = preg_replace ( '/^SELECT id FROM/' , 'DELETE FROM' , $ select ) ; return $ delete ; }
Constructs the SQL to delete a security identity.

@param SecurityIdentityInterface $sid

@throws \InvalidArgumentException

@return string
Constructs the SQL to delete a security identity .