You are here

private function ExecutableFinderTest::setPath in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/process/Tests/ExecutableFinderTest.php \Symfony\Component\Process\Tests\ExecutableFinderTest::setPath()
4 calls to ExecutableFinderTest::setPath()
ExecutableFinderTest::testFind in vendor/symfony/process/Tests/ExecutableFinderTest.php
ExecutableFinderTest::testFindProcessInOpenBasedir in vendor/symfony/process/Tests/ExecutableFinderTest.php
ExecutableFinderTest::testFindWithDefault in vendor/symfony/process/Tests/ExecutableFinderTest.php
ExecutableFinderTest::testFindWithExtraDirs in vendor/symfony/process/Tests/ExecutableFinderTest.php

File

vendor/symfony/process/Tests/ExecutableFinderTest.php, line 31

Class

ExecutableFinderTest
@author Chris Smith <chris@cs278.org>

Namespace

Symfony\Component\Process\Tests

Code

private function setPath($path) {
  $this->path = getenv('PATH');
  putenv('PATH=' . $path);
}