original_string: public function addDir(string $pathname): self
      {
          $this->appAssets->addDir($this->dir . '/' . $pathname);
          return $this;
      }
code: public function addDir(string $pathname): self
      {
          $this->appAssets->addDir($this->dir . '/' . $pathname);
          return $this;
      }
code_tokens: public function addDir ( string $ pathname ) : self { $ this -> appAssets -> addDir ( $ this -> dir . '/' . $ pathname ) ; return $ this ; }
docstring: Registers a directory that will be publicly accessible relative to the current addon or application location.
  
  @param string $pathname The directory name.
  @return self Returns a reference to itself.
docstring_tokens: Registers a directory that will be publicly accessible relative to the current addon or application location .