public collectable ( string $file ) : boolean | ||
$file | string | A file path. |
Результат | boolean |
public function collectable($file)
{
$file = $this->realpath($file);
if (preg_match("/eval\\(\\)'d code\$/", $file) || !isset($this->_coverage[$file])) {
return false;
}
return true;
}