You are here

AdorableInterface.php in Avatar Kit 8

File

avatars_adorable/src/AdorableInterface.php
View source
<?php

namespace Drupal\avatars_adorable;


/**
 * Interface for the Adorable.io API.
 */
interface AdorableInterface {

  /*
   * URL for insecure requests.
   *
   * @var string
   */
  const ADORABLE_HOSTNAME = 'api.adorable.io';

  /*
   * Maximum width images output by the endpoint.
   *
   * @var int
   */
  const DIMENSION_MAXIMUM_WIDTH = 400;

  /*
   * Minimum width images output by the endpoint.
   *
   * @var int
   */
  const DIMENSION_MINIMUM_WIDTH = 40;

}

Interfaces

Namesort descending Description
AdorableInterface Interface for the Adorable.io API.