/** * @return array */ function build() { $config = []; foreach ($this->fileSystem->glob($this->mask) as $filePath) { $config = array_merge($config, Yaml::parse($this->fileSystem->getFileContent($filePath))); } return $config; }
/** * @return array */ function build() { $config = []; foreach ($this->fileSystem->glob($this->mask) as $filePath) { $json_decoded_array = json_decode($this->fileSystem->getFileContent($filePath), true); $config = array_merge($config, $json_decoded_array); } return $config; }
function getBody() { return $this->fileSystem->getFileContent("php://input"); }
/** * Gets container configuration data from file. * * @return array Container configuration data. */ public function getConfiguration() { return unserialize($this->filesystem->getFileContent($this->fileName)); }
public function getBody() { return $this->fileSystem->getFileContent('php://input'); }