/**
* Parse config resource and build config array
*
* @throws ConfigException
* @return array Config data array
*/
protected function getArrayInternal()
{
try {
return $this->yaml->setResource($this->resource)->getArray();
} catch (\Exception $e) {
throw new ConfigException($e->getMessage());
}
}