Sylius\Bundle\CoreBundle\Application\Kernel::isVagrantEnvironment PHP Méthode

isVagrantEnvironment() protected méthode

protected isVagrantEnvironment ( ) : boolean
Résultat boolean
    protected function isVagrantEnvironment()
    {
        return (getenv('HOME') === '/home/vagrant' || getenv('VAGRANT') === 'VAGRANT') && is_dir('/dev/shm');
    }