Acacha\Llum\Tests\LlumCommandTest::fileHasContent PHP Method

fileHasContent() protected method

Check if file has an specific content.
protected fileHasContent ( $file, $content ) : boolean
$file
$content
return boolean
    protected function fileHasContent($file, $content)
    {
        return strpos(file_get_contents(getcwd() . $file), $content) != false;
    }