Elgg
Version master
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
engine
classes
Elgg
Http
WebAppManifestResource.php
Go to the documentation of this file.
1
<?php
2
3
namespace
Elgg\Http
;
4
15
class
WebAppManifestResource
{
16
22
public
function
__construct
(
protected
\
ElggSite
$site
) {
23
}
24
30
public
function
get
(): array {
31
return
[
32
'display'
=>
'standalone'
,
33
'name'
=> $this->site->getDisplayName(),
34
'start_url'
=> $this->site->getUrl(),
35
];
36
}
37
}
$site
$site
Definition:
icons.php:5
Elgg\Http\WebAppManifestResource\__construct
__construct(protected\ElggSite $site)
Constructor.
Definition:
WebAppManifestResource.php:22
Elgg\Http\WebAppManifestResource
Overview: http://html5doctor.com/web-manifest-specification/ Spec: https://w3c.github.io/manifest/.
Definition:
WebAppManifestResource.php:15
Elgg\Http
Definition:
Client.php:3
ElggSite
Definition:
ElggSite.php:28
Generated on Sat Dec 21 2024 00:02:51 for Elgg by
1.8.11