Phpro\SoapClient\Util\Filesystem::getFileContents PHP Method

getFileContents() public method

public getFileContents ( $path ) : string
$path
return string
    public function getFileContents($path)
    {
        if (!$this->fileExists($path)) {
            throw new InvalidArgumentException(sprintf('File %s does not exist.', $path));
        }
        return file_get_contents($path);
    }