Platformsh\Cli\Local\Toolstack\ToolstackBase::__construct PHP Method

__construct() public method

public __construct ( object $fsHelper = null, Platformsh\Cli\Helper\ShellHelperInterface $shellHelper = null, object $gitHelper = null )
$fsHelper object
$shellHelper Platformsh\Cli\Helper\ShellHelperInterface
$gitHelper object
    public function __construct($fsHelper = null, ShellHelperInterface $shellHelper = null, $gitHelper = null)
    {
        $this->shellHelper = $shellHelper ?: new ShellHelper();
        $this->fsHelper = $fsHelper ?: new FilesystemHelper($this->shellHelper);
        $this->gitHelper = $gitHelper ?: new GitHelper($this->shellHelper);
        $this->output = new NullOutput();
        $this->specialDestinations = ["favicon.ico" => "{webroot}", "robots.txt" => "{webroot}"];
        // Platform.sh has '.platform.app.yaml', but we need to be stricter.
        $this->ignoredFiles = ['.*'];
    }