TYPO3  7.6
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
AutoloadConnector Class Reference

Public Member Functions

 __construct ($filesystem=NULL)
 
 linkAutoloader (\Composer\Script\Event $event)
 

Protected Member Functions

 insertComposerModeConstant (\Composer\Script\Event $event)
 

Protected Attributes

 $filesystem
 

Detailed Description

Creates a symlink of the central autoload.php file in the vendor directory of the TYPO3 core package If symlinking is not possible, a proxy file is created, which requires the autoload file in the vendor directory Nothing is done if the composer.json of typo3/cms is the root.

Definition at line 23 of file AutoloadConnector.php.

Constructor & Destructor Documentation

__construct (   $filesystem = NULL)
Parameters
\TYPO3\CMS\Composer\Plugin\Util\Filesystem

Definition at line 33 of file AutoloadConnector.php.

Member Function Documentation

insertComposerModeConstant ( \Composer\Script\Event  $event)
protected
Parameters
\Composer\Script\Event$event

Definition at line 88 of file AutoloadConnector.php.

References $vendorDir, and Config\load().

Referenced by AutoloadConnector\linkAutoloader().

linkAutoloader ( \Composer\Script\Event  $event)
Parameters
\Composer\Script\Event$event

Definition at line 40 of file AutoloadConnector.php.

References AutoloadConnector\insertComposerModeConstant().

Member Data Documentation

$filesystem
protected

Definition at line 28 of file AutoloadConnector.php.