AloWAMP source documentation
  • Namespace
  • Class
  • Tree
  • Deprecated
  • Todo
  • Download

Namespaces

  • None
  • PHP
  • Setup
  • VersionSwitch

Classes

  • AbstractVersionSwitch
  • Apache
  • MySQL
  • PHP
  • Redis

Class AbstractVersionSwitch

Abstract version switcher

Direct known subclasses

VersionSwitch\Apache,VersionSwitch\MySQL,VersionSwitch\PHP,VersionSwitch\Redis

Abstract
Namespace:VersionSwitch
Author:Art <a.molcanovas@gmail.com>
Located atcore/class/versionswitch/abstractversionswitch.php

Methods summary

public
#__construct( )

Constructor

Constructor

Author

Art <a.molcanovas@gmail.com>
publicVersionSwitch\AbstractVersionSwitch
#trySwitch( )

Attempts to switch versions

Attempts to switch versions

Returns

VersionSwitch\AbstractVersionSwitch

Author

Art <a.molcanovas@gmail.com>
protectedVersionSwitch\AbstractVersionSwitch
#restartService( )

Restarts any relevant services

Restarts any relevant services

Returns

VersionSwitch\AbstractVersionSwitch

Author

Art <a.molcanovas@gmail.com>
publicVersionSwitch\AbstractVersionSwitch
#updateDependencies( )

Updates dependencies

Updates dependencies

Returns

VersionSwitch\AbstractVersionSwitch

Author

Art <a.molcanovas@gmail.com>
protected
#updateApache(string$version)

Updates apache settings

Updates apache settings

Parameters

$version
string
$version Which version to update

Author

Art <a.molcanovas@gmail.com>

Magic methods summary

Properties summary

protected array$dependent_dirs
#

Directories that this switch will affect, e.g. switching PHP versions affects Apache's httpd.conf

Directories that this switch will affect, e.g. switching PHP versions affects Apache's httpd.conf

protected string$ini
#

Ini setting

Ini setting

protected string$dir
#

Directory where the binary resides in

Directory where the binary resides in

protected string$old_version
#

Version you're switching from

Version you're switching from

protected string$new_version
#

Version you're switching to

Version you're switching to

protected string$service
#

Service name

Service name

AloWAMP source documentation API documentation generated byApiGen 2.8.0