Shell\Shell (Component\Finder)
Symfony\Component\Finder\Shell\Shell
class Shell
Constants
TYPE_UNIX | |
TYPE_DARWIN | |
TYPE_CYGWIN | |
TYPE_WINDOWS | |
TYPE_BSD |
Methods
int | getType() Returns guessed OS type. | |
bool | testCommand(string $command) Tests if a command is available. |
Details
public int getType()
Returns guessed OS type.
public bool testCommand(string $command)
Tests if a command is available.
© 2004–2016 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.0/Symfony/Component/Finder/Shell/Shell.html