AppserverIo\Appserver\Core\Api\AbstractService::getFiles PHP Method

getFiles() public method

Returns the files to be created at first start.
public getFiles ( ) : array
return array The files to be created if necessary
    public function getFiles()
    {
        // initialize the array with the files
        $files = array();
        // iterate over the file keys and read the configuration values
        foreach (FileKeys::getServerFileKeys() as $fileKey) {
            $files[$fileKey] = $this->getSystemConfiguration()->getParam($fileKey);
        }
        // return the array with the files
        return $files;
    }