/** * {@inheritdoc} */ public function __construct($filepath) { parent::__construct($filepath); if (!class_exists('Spyc')) { throw new RuntimeException('Spyc library must be installed.'); } }
/** * Constructor. * @param string $filepath Configuration filepath to parse. * @param boolean $parseSections Parser should parse INI sections? */ public function __construct($filepath, $parseSections = true) { $this->parseSections = $parseSections; parent::__construct($filepath); }