protected function getInstalledSymfonyVersion()
    {
        $symfonyVersion = $this->composerManager->getPackageVersion('symfony/symfony');

        if (!empty($symfonyVersion) && 'v' === substr($symfonyVersion, 0, 1)) {
            return substr($symfonyVersion, 1);
        }

        return $symfonyVersion;
    }
protected function getInstalledSymfonyVersion()
    {
        $symfonyVersion = $this->composerManager->getPackageVersion('symfony/symfony');

        if (!empty($symfonyVersion) && 'v' === substr($symfonyVersion, 0, 1)) {
            return substr($symfonyVersion, 1);
        }

        return $symfonyVersion;
    }
protected function getInstalledSymfonyVersion ( ) { $ symfonyVersion = $ this -> composerManager -> getPackageVersion ( 'symfony/symfony' ) ; if ( ! empty ( $ symfonyVersion ) && 'v' === substr ( $ symfonyVersion , 0 , 1 ) ) { return substr ( $ symfonyVersion , 1 ) ; } return $ symfonyVersion ; }
Returns the full Symfony version number of the project by getting
it from the composer.lock file.

@return string The installed Symfony version
Returns the full Symfony version number of the project by getting it from the composer . lock file .