for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
/*
* This file is part of the WebpackEncore plugin for Micro Framework.
* (c) Oleksii Bulba <[email protected]>
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace OleksiiBulba\WebpackEncorePlugin;
use Micro\Framework\Kernel\Configuration\PluginConfiguration;
/**
* @codeCoverageIgnore
class WebpackEncorePluginConfiguration extends PluginConfiguration implements WebpackEncorePluginConfigurationInterface
{
public const CFG_OUTPUT_PATH = 'WEBPACK_ENCORE_OUTPUT_PATH';
public function getOutputPath(): string
return (string) $this->configuration->get(self::CFG_OUTPUT_PATH,
((string) $this->configuration->get('BASE_PATH')).'/public/build'
);
}