PHP 인터페이스 Treffynnon\Navigator\Distance\Converter\ConverterInterface

파일 보기 프로젝트 열기: treffynnon/navigator

공개 메소드들

메소드 설명
c ( float $distance ) : float Convert the distance
convert ( $distance ) : mixed Convert the supplied value using factor
r ( float $distance ) : float Reverse the distance conversion
reverse ( $distance ) : mixed Convert the supplied value by reversing the factor

메소드 상세

c() 공개 메소드

Convert the distance
public c ( float $distance ) : float
$distance float
리턴 float

convert() 공개 메소드

Convert the supplied value using factor
public convert ( $distance ) : mixed
리턴 mixed Converted value

r() 공개 메소드

Reverse the distance conversion
public r ( float $distance ) : float
$distance float
리턴 float

reverse() 공개 메소드

Convert the supplied value by reversing the factor
public reverse ( $distance ) : mixed
리턴 mixed Reversed value