Progromatically open a file in Atom


There’s a PHP package to display errors in the browser called whoops. It has the feature to open files in a text editor as detailed in their docs here:

It doesn’t explicitly support Atom, but it does detail how to generically open files by using the following command:

return "whatever://open?file=$file&line=$line";

Does atom support this? Can I just substitute whatever for atom in the above line?