for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file is a part of Sculpin.
*
* (c) Dragonfly Development Inc.
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symplify\PHP7_Sculpin\Permalink;
final class Permalink
{
/**
* @var string
private $relativeFilePath;
private $relativeUrlPath;
public function __construct(string $relativeFilePath, string $relativeUrlPath)
$this->relativeFilePath = $relativeFilePath;
$this->relativeUrlPath = $relativeUrlPath;
}
* {@inheritdoc}
public function relativeFilePath() : string
return $this->relativeFilePath;
public function relativeUrlPath() : string
return $this->relativeUrlPath;