isPHP property

bool get isPHP

Checks if a file path or URL represents a PHP file.

Implementation

bool get isPHP {
  final mt = mimeType();
  return mt == 'application/x-httpd-php';
}