Unit
class Unit implements UnitInterface
This is main class of Nginx Unit manipulation
Methods
__construct(string $socket, string $address)
No description
getConfig()
No description
array
getCertificates()
No description
bool
uploadCertificate(string $path, string $certificateName)
No description
bool
removeCertificate(string $certificateName)
No description
string
getSocket()
No description
string
getAddress()
No description
getStatistics()
No description
CertificateInterface|null
getCertificate(string $certificateName)
No description
bool
uploadConfigFromFile(string $path)
No description
bool
removeConfig()
No description
Details
at line 43
__construct(string $socket, string $address)
No description
at line 54
ConfigInterface
getConfig()
No description
at line 78
array
getCertificates()
No description
at line 88
bool
uploadCertificate(string $path, string $certificateName)
No description
at line 112
bool
removeCertificate(string $certificateName)
No description
at line 138
string
getSocket()
No description
at line 146
string
getAddress()
No description
at line 154
StatisticsInterface
getStatistics()
No description
at line 170
CertificateInterface|null
getCertificate(string $certificateName)
No description
at line 181
bool
uploadConfigFromFile(string $path)
No description
at line 209
bool
removeConfig()
No description