<?php
$content = file_get_contents(__DIR__ . '/../vendor/filament/filament/src/Auth/Pages/Register.php');
$lines = explode("\n", $content);
foreach ($lines as $num => $line) {
    if (str_contains($line, 'use') || str_contains($line, 'function register')) {
        echo "Line " . ($num + 1) . ": " . trim($line) . "\n";
    }
}
