[ 'foreign' => 'user_id', 'owner' => 'id', ], 'model' => User::class, ]; } function route(string $name): string { return $name; } function dir(string $path): bool { return $path === '/some/valid/path'; }