protected function addBin(Phar $phar)
    {
        $content = file_get_contents(__DIR__ . '/../../../bin/visithor');
        $content = preg_replace('{^#!/usr/bin/env php\s*}', '', $content);
        $phar->addFromString('bin/visithor', $content);

        return $this;
    }
protected function addBin(Phar $phar)
    {
        $content = file_get_contents(__DIR__ . '/../../../bin/visithor');
        $content = preg_replace('{^#!/usr/bin/env php\s*}', '', $content);
        $phar->addFromString('bin/visithor', $content);

        return $this;
    }
protected function addBin ( Phar $ phar ) { $ content = file_get_contents ( __DIR__ . '/../../../bin/visithor' ) ; $ content = preg_replace ( '{^#!/usr/bin/env php\s*}' , '' , $ content ) ; $ phar -> addFromString ( 'bin/visithor' , $ content ) ; return $ this ; }
Add bin into Phar

@param Phar $phar Phar

@return Compiler self Object
Add bin into Phar