PHP Class tad\WPBrowser\Extension\Symlinker

Inheritance: extends Codeception\Extension
Show file Open project: lucatume/wp-browser

Public Properties

Property Type Description
$events

Protected Properties

Property Type Description
$destination string
$required array

Public Methods

Method Description
__construct ( $config, $options, tad\WPBrowser\Filesystem\Filesystem $filesystem = null )
_initialize ( )
symlink ( Codeception\Event\SuiteEvent $e )
unlink ( Codeception\Event\SuiteEvent $e )

Protected Methods

Method Description
checkRequirements ( )
checkSingleDestination ( $destination )
getDestination ( $rootFolder, array $settings = null ) : array | mixed | string
getRootFolder ( ) : string

Private Methods

Method Description
checkRootFolder ( $rootFolder )

Method Details

__construct() public method

public __construct ( $config, $options, tad\WPBrowser\Filesystem\Filesystem $filesystem = null )
$filesystem tad\WPBrowser\Filesystem\Filesystem

_initialize() public method

public _initialize ( )

checkRequirements() protected method

protected checkRequirements ( )

checkSingleDestination() protected method

protected checkSingleDestination ( $destination )
$destination

getDestination() protected method

protected getDestination ( $rootFolder, array $settings = null ) : array | mixed | string
$rootFolder
$settings array
return array | mixed | string

getRootFolder() protected method

protected getRootFolder ( ) : string
return string

Property Details

$destination protected property

protected string $destination
return string

$events public static property

public static $events

$required protected property

protected array $required
return array