Skip to content
Code-Schnipsel Gruppen Projekte
EventHandler.php 505 B
Newer Older
<?php

/**
 * This file contains QUI\Test\EventHandler
 */

namespace QUI\Test;

use QUI\Projects\Media\ExternalImage;
use QUI\Interfaces\Users\User as UserInterfaces;

/**
 * Class EventHandler
 *
 * @package QUI\Test
 */
class EventHandler
{
    /**
     * @return ExternalImage
     */
Henning Leutz's avatar
Henning Leutz committed
    public static function onUserGetAvatar(UserInterfaces $User)
        return new ExternalImage(
            'https://api.adorable.io/avatars/200/abott@adorable.png'
        );
    }
}