for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* Composer plugin for config assembling
*
* @link https://github.com/hiqdev/composer-config-plugin
* @package composer-config-plugin
* @license BSD-3-Clause
* @copyright Copyright (c) 2016-2018, HiQDev (http://hiqdev.com/)
*/
namespace hiqdev\composer\config\readers;
* PhpReader - reads PHP files.
* @author Andrii Vasyliev <[email protected]>
class PhpReader extends AbstractReader
{
public function readRaw($__path)
/// Expose variables to be used in configs
extract($this->builder->getVars());
return require $__path;
}