Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
|||
| FtpConstants | n/a |
0 / 0 |
n/a |
0 / 0 |
1 | n/a |
0 / 0 |
|||
| __construct | n/a |
0 / 0 |
n/a |
0 / 0 |
1 | |||||
| 1 | <?php |
| 2 | namespace Apie\FtpServer; |
| 3 | |
| 4 | final class FtpConstants |
| 5 | { |
| 6 | /** |
| 7 | * @codeCoverageIgnore |
| 8 | */ |
| 9 | private function __construct() |
| 10 | { |
| 11 | } |
| 12 | |
| 13 | public const USERNAME = 'ftp_username'; |
| 14 | |
| 15 | public const CURRENT_PWD = 'ftp_cwd'; |
| 16 | |
| 17 | public const CURRENT_FOLDER = 'ftp_current_folder'; |
| 18 | |
| 19 | /** |
| 20 | * PASV command public IP address to report (127.0.0.1 when missing) |
| 21 | */ |
| 22 | public const PUBLIC_IP = 'ftp_public_ip'; |
| 23 | |
| 24 | /** |
| 25 | * PASV command minimum port number to use |
| 26 | */ |
| 27 | public const PASV_MIN_PORT = 'ftp_passive_min_port'; |
| 28 | |
| 29 | /** |
| 30 | * PASV command maximum port number to use (inclusive) |
| 31 | */ |
| 32 | public const PASV_MAX_PORT = 'ftp_passive_max_port'; |
| 33 | |
| 34 | /** |
| 35 | * PORT command ip address to connect to |
| 36 | */ |
| 37 | public const IP = 'ftp_port_ip'; |
| 38 | |
| 39 | /** |
| 40 | * PORT command port number to connect to |
| 41 | */ |
| 42 | public const PORT = 'ftp_port_port'; |
| 43 | } |