Fakerino\DataSource\File\File::getContent PHP Method

getContent() public method

public getContent ( ) : string
return string
    public function getContent()
    {
        if ($content = file_get_contents($this->getRealPath())) {
            return $content;
        } else {
            throw new FileEmptyException($this->getRealPath());
        }
    }