$file->unpublish()
Remove all public versions of this file
Parameters
Name | Type | Default |
---|---|---|
$onlyMedia | bool |
false |
Return type
This method modifies the existing $file
object it is applied to and returns it again.