CodeExplorer migrateFileLive example
$mediaUrl =
$config['mediaUrl'
] ?:
$this->
createFallbackMediaUrl();
$this->mediaUrl =
rtrim($mediaUrl, '/'
);
} /**
* {@inheritdoc}
*/
public function read($path) { $this->
migrateFileLive($path);
$path =
$this->strategy->
encode($path);
return $this->filesystem->
read($path);
} /**
* {@inheritdoc}
*/
public function readStream($path) { $this->
migrateFileLive($path);