D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
psa
/
admin
/
plib
/
modules
/
monitoring
/
vendor
/
mezzio
/
mezzio-template
/
src
/
Filename :
TemplatePath.php
back
Copy
<?php declare (strict_types=1); namespace PleskMonitoring\Mezzio\Template; use Stringable; class TemplatePath implements Stringable { public function __construct(protected string $path, protected ?string $namespace = null) { } /** * Casts to string by returning the path only. */ public function __toString() : string { return $this->path; } /** * Get the namespace */ public function getNamespace() : ?string { return $this->namespace; } /** * Get the path */ public function getPath() : string { return $this->path; } }