for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace kalanis\RemoteRequest\Protocols\Fsp\Query;
use kalanis\RemoteRequest\Protocols\Fsp;
/**
* Class GetProtection
* @package kalanis\RemoteRequest\Protocols\Fsp\Query
* Get dir protection details
*/
class GetProtection extends AQuery
{
protected string $dirPath = '';
protected function getCommand(): int
return Fsp::CC_GET_PRO;
}
public function setDirPath(string $filePath): self
$this->dirPath = $filePath;
return $this;
protected function getData(): string
return $this->dirPath . chr(0);