2017 © Pedro Peláez
 

magento2-module ext-magento2-mwltr-filesystem-filedriver

Dummy Module

image

mwltr/ext-magento2-mwltr-filesystem-filedriver

Dummy Module

  • Thursday, June 28, 2018
  • by mwltr
  • Repository
  • 1 Watchers
  • 9 Stars
  • 397 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 5 Versions
  • 135 % Grown

The README.md

Mwltr_FilesystemFileDriver Magento2 module

This module replaces the class \Magento\Framework\Filesystem\Driver\File to provide a correct implementation for the getRelativePath method., (*1)

Prerequisites

You only need this module if you plan on having magento module sources outside of the Magento root., (*2)

Implementation

The overwrite can be found in \Mwltr\FilesystemFileDriver\Filesystem\FileDriver., (*3)

The actual implementation of the relative path caclulation can be found in \Mwltr\FilesystemFileDriver\Helper\RelativePathHelper., (*4)

To exchange the \Magento\Framework\Filesystem\Driver\File an di.xml defintion won't work, since the DriverPool is defined in \Magento\Framework\App\Bootstrap::createFilesystemDriverPool., (*5)

There is a way to add additional parameters to the DriverPool, by setting an array field with key Magento\Framework\App\Bootstrap::INIT_PARAM_FILESYSTEM_DRIVERS in the $_SERVER., (*6)

This module does that in the registration.php, since the registration.php is included during the whole composer autoload inclusion., (*7)

php $_SERVER[\Magento\Framework\App\Bootstrap::INIT_PARAM_FILESYSTEM_DRIVERS] = [ 'file' => \Mwltr\FilesystemFileDriver\Filesystem\FileDriver::class, ];, (*8)

The Versions

28/06 2018

dev-master

9999999-dev

Dummy Module

  Sources   Download

GPL-3.0

The Requires

  • php ~7.0.0

 

28/06 2018

dev-develop

dev-develop

Dummy Module

  Sources   Download

GPL-3.0

The Requires

  • php ~7.0.0

 

28/06 2018

1.1.0

1.1.0.0

Dummy Module

  Sources   Download

GPL-3.0

The Requires

  • php ~7.0.0

 

01/05 2018

1.0.1

1.0.1.0

Dummy Module

  Sources   Download

GPL-3.0

The Requires

  • php ~7.1.0

 

01/05 2018

1.0.0

1.0.0.0

Dummy Module

  Sources   Download

GPL-3.0

The Requires

  • php ~7.1.0