yii\base\Controller::getUniqueId PHP Method

getUniqueId() public method

Returns the unique ID of the controller.
public getUniqueId ( ) : string
return string the controller ID that is prefixed with the module ID (if any).
    public function getUniqueId()
    {
        return $this->module instanceof Application ? $this->id : $this->module->getUniqueId() . '/' . $this->id;
    }