ZF\Apigility\Admin\Controller\PackageController::createZpkVersionOption PHP Method

createZpkVersionOption() private method

Create and return the version option.
private createZpkVersionOption ( null | string $version ) : string
$version null | string
return string
    private function createZpkVersionOption($version)
    {
        if (null === $version || !is_string($version)) {
            return '';
        }
        return ' --version=' . escapeshellarg($version);
    }