private function getStub()
    {
        $stub = <<<'EOF'
#!/usr/bin/env php
<?php
/*
 * This file is part of ctb.
 *
 * For the full copyright and license information, please view
 * the license that is located at the bottom of this file.
 */

Phar::mapPhar('ctb.phar');

EOF;

        // add warning once the phar is older than 30 days
        if (preg_match('{^[a-f0-9]+$}', $this->version)) {
            $warningTime = (time() + 30 * 86400);

            $stub .= 'define(\'COMPOSER_DEV_WARNING_TIME\', ' . $warningTime . ');' . "\n";
        }

        return $stub . <<<'EOF'
require 'phar://ctb.phar/bin/ctb';

__HALT_COMPILER();
EOF;
    }
private function getStub()
    {
        $stub = <<<'EOF'
#!/usr/bin/env php
<?php
/*
 * This file is part of ctb.
 *
 * For the full copyright and license information, please view
 * the license that is located at the bottom of this file.
 */

Phar::mapPhar('ctb.phar');

EOF;

        // add warning once the phar is older than 30 days
        if (preg_match('{^[a-f0-9]+$}', $this->version)) {
            $warningTime = (time() + 30 * 86400);

            $stub .= 'define(\'COMPOSER_DEV_WARNING_TIME\', ' . $warningTime . ');' . "\n";
        }

        return $stub . <<<'EOF'
require 'phar://ctb.phar/bin/ctb';

__HALT_COMPILER();
EOF;
    }
private function getStub ( ) { $ stub =  <<<'EOF'
#!/usr/bin/env php
<?php
/*
 * This file is part of ctb.
 *
 * For the full copyright and license information, please view
 * the license that is located at the bottom of this file.
 */

Phar::mapPhar('ctb.phar');

EOF ; // add warning once the phar is older than 30 days if ( preg_match ( '{^[a-f0-9]+$}' , $ this -> version ) ) { $ warningTime = ( time ( ) + 30 * 86400 ) ; $ stub .= 'define(\'COMPOSER_DEV_WARNING_TIME\', ' . $ warningTime . ');' . "\n" ; } return $ stub .  <<<'EOF'
require 'phar://ctb.phar/bin/ctb';

__HALT_COMPILER();
EOF ; }
Build the stub for the phar.

@return string
Build the stub for the phar .