Neos\Cache\Backend\AbstractBackend::setProperties PHP Метод

setProperties() защищенный Метод

protected setProperties ( array $properties, boolean $throwExceptionIfPropertyNotSettable = true ) : void
$properties array
$throwExceptionIfPropertyNotSettable boolean
Результат void
    protected function setProperties($properties, $throwExceptionIfPropertyNotSettable = true)
    {
        foreach ($properties as $propertyName => $propertyValue) {
            $propertyWasSet = $this->setProperty($propertyName, $propertyValue);
            if ($propertyWasSet) {
                continue;
            }
            if ($throwExceptionIfPropertyNotSettable) {
                throw new \InvalidArgumentException('Invalid cache backend option "' . $propertyName . '" for backend of type "' . get_class($this) . '"', 1231267498);
            }
        }
    }