20 lines
347 B
PHP
20 lines
347 B
PHP
<?php
|
|
|
|
namespace Fhp\Segment;
|
|
|
|
interface SegmentInterface
|
|
{
|
|
/**
|
|
* Returns string representation of object.
|
|
*/
|
|
public function __toString(): string;
|
|
|
|
/**
|
|
* Gets the name of the segment.
|
|
*/
|
|
public function getName(): string;
|
|
|
|
public function getVersion(): int;
|
|
|
|
public function getSegmentNumber(): int;
|
|
}
|