protected function setPublicDirectory()
    {
        if (! $this->json) {
            $this->readJson();
        }
        
        $this->json['extra']['public-dir'] = $this->plugin->getPublicDirectory();
    }
protected function setPublicDirectory()
    {
        if (! $this->json) {
            $this->readJson();
        }
        
        $this->json['extra']['public-dir'] = $this->plugin->getPublicDirectory();
    }
protected function setPublicDirectory ( ) { if ( ! $ this -> json ) { $ this -> readJson ( ) ; } $ this -> json [ 'extra' ] [ 'public-dir' ] = $ this -> plugin -> getPublicDirectory ( ) ; }
Set the public directory in the composer.json.

@return void
Set the public directory in the composer . json .