for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* Spiral Framework.
*
* @license MIT
* @author Anton Titov (Wolfy-J)
*/
declare(strict_types=1);
namespace Spiral\Views\Loader;
final class ViewPath
{
/** @var string */
private $namespace;
private $name;
private $basename;
* @param string $namespace
* @param string $name
* @param string $basename
public function __construct(string $namespace, string $name, string $basename)
$this->namespace = $namespace;
$this->name = $name;
$this->basename = $basename;
}
* @return string
public function getNamespace(): string
return $this->namespace;
public function getName(): string
return $this->name;
public function getBasename(): string
return $this->basename;