code: public function setDataInterface($value)
      {
          if (($interfaceItem = Yii::$app->collectors['dataInterfaces']->getOne($value)) && ($interface = $interfaceItem->object)) {
              $this->_interface = $interfaceItem;
          } else {
              throw new Exception("Invalid interface!");
          }
      }
docs: Set interface.
  
  @param string $value system ID of data interface
  
  @throws Exception on invalid interface selection