getProperty() public méthode

If no particular property is set, all properties are returned.
public getProperty ( string $path, string $property = null ) : mixed
$path string File path
$property string Property name
Résultat mixed
Exemple #1
0
 /**
  * Tests retrieving file properties if the file does not exist.
  *
  * @depends testMkdir
  */
 public function testGetPropertyIfFileNotExist()
 {
     $this->setExpectedException('\\Jyxo\\Webdav\\FileNotExistException');
     $this->client->getProperty($this->dir . '/dummy.txt');
 }