16 lines
411 B
PHP
16 lines
411 B
PHP
<?php
|
|
namespace ProVM\Concept;
|
|
|
|
use ArrayAccess;
|
|
|
|
interface Path extends ArrayAccess
|
|
{
|
|
public function compose(string $base_path): Path;
|
|
public function add(string $path_segment): Path;
|
|
public function build(): string;
|
|
public static function fromArray(array $path): string;
|
|
|
|
public static function isAbsolute(string $path): bool;
|
|
public static function isRelative(string $path): bool;
|
|
}
|