| 1 | <?php |
||
| 14 | class CurlRemoteFilesystem extends Util\RemoteFilesystem |
||
| 15 | { |
||
| 16 | protected $io, $config, $options, $disableTls; |
||
|
|
|||
| 17 | |||
| 18 | private $req; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @inheritDoc |
||
| 22 | */ |
||
| 23 | public function __construct(IO\IOInterface $io, Config $config = null, array $options = array(), $disableTls = false) |
||
| 31 | |||
| 32 | /** |
||
| 33 | * @inheritDoc |
||
| 34 | */ |
||
| 35 | public function getContents($originUrl, $fileUrl, $progress = true, $options = array()) |
||
| 50 | |||
| 51 | public function getLastHeaders() |
||
| 59 | |||
| 60 | public function __debugInfo() |
||
| 64 | } |
||
| 65 |
Only declaring a single property per statement allows you to later on add doc comments more easily.
It is also recommended by PSR2, so it is a common style that many people expect.