for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace SamBurns\ConfigFileParser\File\ParsableFile;
use SamBurns\ConfigFileParser\File\ParsableFile;
class PhpArrayFile implements ParsableFile
{
/** @var string */
private $path;
public function __construct(string $path)
$this->path = $path;
}
public function toArray(): array
return require $this->path;