public function setIgnoreExtraKeys($boolean, $remove = true)
    {
        $this->ignoreExtraKeys = (bool) $boolean;
        $this->removeExtraKeys = $this->ignoreExtraKeys && $remove;
    }
public function setIgnoreExtraKeys($boolean, $remove = true)
    {
        $this->ignoreExtraKeys = (bool) $boolean;
        $this->removeExtraKeys = $this->ignoreExtraKeys && $remove;
    }
public function setIgnoreExtraKeys ( $ boolean , $ remove = true ) { $ this -> ignoreExtraKeys = ( bool ) $ boolean ; $ this -> removeExtraKeys = $ this -> ignoreExtraKeys && $ remove ; }
Whether extra keys should just be ignore without an exception.

@param bool $boolean To allow extra keys
@param bool $remove  To remove extra keys
Whether extra keys should just be ignore without an exception .