Unit

Create unit object

$unit = new Unit(
    socket: '/usr/local/var/run/unit/control.sock',
    address: 'http://localhost'
);

Get unit socket

$unit->getSocket();

Get unit address

$unit->getAddress();

Clear config

$unit->removeConfig();

Last updated