You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
php-path/src/PathInterface.php

21 lines
446 B
PHP

<?php
declare(strict_types=1);
namespace Arokettu\Path;
interface PathInterface extends \Stringable
{
public function isAbsolute(): bool;
public function isRelative(): bool;
public function getPrefix(): string;
public function getComponents(): array;
public function toString(): string;
/**
* @return static
*/
public function resolveRelative(RelativePathInterface $path, bool $strict = false): self;
}