Download models/Trasnport.php from chartManD/turitezo: direct link, hf CLI and curl.
- Browser
- Download file 451 Bytes
-
https://huggingface.co/spaces/chartManD/turitezo/resolve/main/models/Trasnport.php
- Command line
-
hf download hf://spaces/chartManD/turitezo/models/Trasnport.php
-
curl -L -o Trasnport.php https://huggingface.co/spaces/chartManD/turitezo/resolve/main/models/Trasnport.php
451 Bytes
| class Transport | |
| { | |
| public $nameTransport; | |
| public $timeRoad; | |
| public function __construct($name, $time) | |
| { | |
| $this->nameTransport = $name; | |
| $this->timeRoad = $time; | |
| } | |
| public function getTransportTime() : array | |
| { | |
| return ["trasnporte" => $this->nameTransport, "tiempo" => $this->timeRoad]; | |
| } | |
| public function getNameTransport() : string|null | |
| { | |
| return $this->nameTransport; | |
| } | |
| } |