public function addDir(string $pathname): self
    {
        $this->appAssets->addDir($this->dir . '/' . $pathname);
        return $this;
    }
public function addDir(string $pathname): self
    {
        $this->appAssets->addDir($this->dir . '/' . $pathname);
        return $this;
    }
public function addDir ( string $ pathname ) : self { $ this -> appAssets -> addDir ( $ this -> dir . '/' . $ pathname ) ; return $ this ; }
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.
Registers a directory that will be publicly accessible relative to the current addon or application location .