src/Control/Middleware/HTTPCacheControlMiddleware.php
public function setStateDirectivesFromArray($states, $directives)
    {
        foreach ($directives as $directive => $value) {
            $this->setStateDirective($states, $directive, $value);
        }
        return $this;
    }
public function setStateDirectivesFromArray($states, $directives)
    {
        foreach ($directives as $directive => $value) {
            $this->setStateDirective($states, $directive, $value);
        }
        return $this;
    }
public function setStateDirectivesFromArray ( $ states , $ directives ) { foreach ( $ directives as $ directive => $ value ) { $ this -> setStateDirective ( $ states , $ directive , $ value ) ; } return $ this ; }
Low level method to set directives from an associative array

@param array|string $states State(s) to apply this directive to
@param array $directives
@return $this
Low level method to set directives from an associative array