KapostService::find_file_by_url
Finds a file record based on the url of the file, this is needed because Kapost doesn't seem to send anything back other than the url in the cms
Signature
public function find_file_by_url(string
$url )
Parameters
$url
— string- Absolute url to the file
Returns
- File
- Returns the file instance representing the url, or boolean false if it's not found