Conditions | 3 |
Paths | 2 |
Total Lines | 8 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
23 | public function __construct(Isolator $isolator = null) |
||
24 | { |
||
25 | if ($isolator ? $isolator->defined('PHP_WINDOWS_VERSION_BUILD') : defined('PHP_WINDOWS_VERSION_BUILD')) { |
||
26 | $this->_platformFactory = new WindowsLocatorFactory(); |
||
27 | } else { |
||
28 | $this->_platformFactory = new PosixLocatorFactory(); |
||
29 | } |
||
30 | } |
||
31 | |||
46 |