SilverStripe\Assets\Folder::setTitle
Override setting the Title of Folders to that Name and Title are always in sync.
Note that this is not appropriate for files, because someone might want to create a human-readable name of a file that is different from its name on disk. But folders should always match their name on disk.
Signature
public function setTitle(string
$title )
Parameters
$title
— string
Returns
- $this