src/Cache/ResponsiveBreakpointsCache.php
public function set($publicId, $options = [], $value = [])
    {
        if (!$this->enabled()) {
            return false;
        }

        if (! is_array($value)) {
            throw new InvalidArgumentException("An array of breakpoints is expected");
        }

        list($type, $resourceType, $transformation, $format) = self::optionsToParameters($options);

        return $this->cacheAdapter->set($publicId, $type, $resourceType, $transformation, $format, $value);
    }
public function set($publicId, $options = [], $value = [])
    {
        if (!$this->enabled()) {
            return false;
        }

        if (! is_array($value)) {
            throw new InvalidArgumentException("An array of breakpoints is expected");
        }

        list($type, $resourceType, $transformation, $format) = self::optionsToParameters($options);

        return $this->cacheAdapter->set($publicId, $type, $resourceType, $transformation, $format, $value);
    }
public function set ( $ publicId , $ options = [ ] , $ value = [ ] ) { if ( ! $ this -> enabled ( ) ) { return false ; } if ( ! is_array ( $ value ) ) { throw new InvalidArgumentException ( "An array of breakpoints is expected" ) ; } list ( $ type , $ resourceType , $ transformation , $ format ) = self :: optionsToParameters ( $ options ) ; return $ this -> cacheAdapter -> set ( $ publicId , $ type , $ resourceType , $ transformation , $ format , $ value ) ; }
Sets responsive breakpoints identified by public ID and options

@param string  $publicId The public ID of the resource
@param array   $options  Additional options
@param array   $value    Array of responsive breakpoints to set

@return bool true on success or false on failure
Sets responsive breakpoints identified by public ID and options