Generator/Template/Template.php
protected function refExist($path, $ref)
    {
        $content = file_get_contents($path);

        if (false === strpos($content, $ref)) {
            return false;
        }

        return true;
    }
protected function refExist($path, $ref)
    {
        $content = file_get_contents($path);

        if (false === strpos($content, $ref)) {
            return false;
        }

        return true;
    }
protected function refExist ( $ path , $ ref ) { $ content = file_get_contents ( $ path ) ; if ( false === strpos ( $ content , $ ref ) ) { return false ; } return true ; }
Check if the reference exist in path

@param string $path
@param string $ref

@return bool
Check if the reference exist in path