setChroot example


  public function __get($name) {
    if ($name == 'connection') {
      $this->connect();
      return $this->connectionHandle;
    }

    if ($name == 'chroot') {
      $this->setChroot();
      return $this->chrootPath;
    }
  }

  /** * {@inheritdoc} */
  public function __set(string $name$value): void {
    if ($name == 'connection') {
      $this->connectionHandle = $value;
    }
    
Home | Imprint | This part of the site doesn't use cookies.