getProperty() public method

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
return mixed
コード例 #1
0
ファイル: ClientTest.php プロジェクト: honzap/php
 /**
  * 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');
 }