protected function addLicence(Phar $phar)
    {
        $file = $this->files->combine($this->pathBase, 'LICENSE');
        if (! $this->files->exists($file)) {
            return;
        }

        $this->fireEvent('LICENCE');
        $this->addFile($phar, new SplFileInfo($file), false);
    }
protected function addLicence(Phar $phar)
    {
        $file = $this->files->combine($this->pathBase, 'LICENSE');
        if (! $this->files->exists($file)) {
            return;
        }

        $this->fireEvent('LICENCE');
        $this->addFile($phar, new SplFileInfo($file), false);
    }
protected function addLicence ( Phar $ phar ) { $ file = $ this -> files -> combine ( $ this -> pathBase , 'LICENSE' ) ; if ( ! $ this -> files -> exists ( $ file ) ) { return ; } $ this -> fireEvent ( 'LICENCE' ) ; $ this -> addFile ( $ phar , new SplFileInfo ( $ file ) , false ) ; }
Adicionar arquivo de licenca.
@param Phar $phar
Adicionar arquivo de licenca .