public function Robohash::__construct in Avatar Kit 8
Constructs a new Robohash object.
File
- avatars_robohash/
src/ Robohash.php, line 23
Class
- Robohash
- Implements the Robohash.org API.
Namespace
Drupal\avatars_robohashCode
public function __construct() {
$this
->setDimensionConstraints(Robohash::DIMENSION_MINIMUM_WIDTH, Robohash::DIMENSION_MAXIMUM_WIDTH, Robohash::DIMENSION_MINIMUM_HEIGHT, Robohash::DIMENSION_MAXIMUM_HEIGHT);
}