# \IZON\Thumber\ImageResizerImageResizer

Description of ImageResizer

## Summary

Methods
Properties
Constants
__construct()
resize()
addStrategy()
No public properties found
No constants found
No protected methods found
$strategies
N/A
No private methods found
No private properties found
N/A

File
  ImageResizer/ImageResizer.php
Package
  Default
Class hierarchy
  \IZON\Thumber\ImageResizer\ImageResizer
Implements
  \IZON\Thumber\ImageResizer\IImageResizer

## Tags

author | lukas

## Properties

### $strategies

    $strategies : array<mixed,\IZON\Thumber\ImageResizer\IImageResizerStrategy>

#### Type

array<mixed,\IZON\Thumber\ImageResizer\IImageResizerStrategy>

#

## Tags

None found

## Methods

### __construct()

    __construct(array<mixed,\IZON\Thumber\ImageResizer\IImageResizerStrategy>  $strategies = array())

#### Parameters

array<mixed,\IZON\Thumber\ImageResizer\IImageResizerStrategy> | $strategies |

#### Throws

\IZON\Thumber\Exceptions\UnsupportedResizeTypeException
\IZON\Thumber\Exceptions\InvalidResizerStrategyException

#

## Tags

None found

### resize()

    resize(string  $type) : \IZON\Thumber\ImageResizer\IImageResizerStrategy

#### Parameters

string | $type |

#### Throws

\IZON\Thumber\Exceptions\UnsupportedResizeTypeException

#### Returns

\IZON\Thumber\ImageResizer\IImageResizerStrategy

#

## Tags

None found

### addStrategy()

    addStrategy(\IZON\Thumber\ImageResizer\string  $type, \IZON\Thumber\ImageResizer\IImageResizerStrategy  $strategy) : \IZON\Thumber\ImageResizer\IImageResizer

#### Parameters

\IZON\Thumber\ImageResizer\string | $type |
\IZON\Thumber\ImageResizer\IImageResizerStrategy | $strategy |

#### Returns

\IZON\Thumber\ImageResizer\IImageResizer

#

## Tags

None found

### ImageResizer.php