ILIAS  release_7 Revision v7.30-3-g800a261c036
Picture.php
Go to the documentation of this file.
1<?php declare(strict_types=1);
2
4
7
8class Picture extends Avatar implements C\Symbol\Avatar\Picture
9{
11
12 public function __construct(string $path_to_picture, string $username)
13 {
14 $this->picture_path = $path_to_picture;
15 parent::__construct($username);
16 }
17
18 public function getPicturePath() : string
19 {
20 return $this->picture_path;
21 }
22}
An exception for terminatinating execution or to throw for unit testing.
__construct(string $path_to_picture, string $username)
Definition: Picture.php:12
This describes how a picture avatar could be modified during construction of UI.
Definition: Picture.php:9
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc