ILIAS  trunk Revision v12.0_alpha-1540-g00f839d5fa1
Environment.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
21namespace ILIAS\WebDAV;
22
24
29{
30 public function __construct(
31 private Config $config,
32 private UriBuilder $uri_builder
33 ) {
34 }
35
36 public function isActive(): bool
37 {
38 return $this->config->isActive();
39 }
40
41 public function getUriToMountInstructionModalByRef(int $ref_id): string
42 {
43 return $this->uri_builder->getUriToMountInstructionModalByRef($ref_id);
44 }
45}
__construct(private Config $config, private UriBuilder $uri_builder)
Definition: Environment.php:30
getUriToMountInstructionModalByRef(int $ref_id)
Definition: Environment.php:41
$ref_id
Definition: ltiauth.php:66