Skip to content

gertvdb/distance

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

distance

Provide a standard way to store distance and work with it.

Usage

Initialising the classes.


use Drupal\distance\Distance;

$distance = new Distance(1.67, 'MI');
$km = $distance->toKilometers();

Release notes

1.0.0

  • Basic setup of the module.
  • Provide distance class.

About

Provide a class to work with distance

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages