1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-11 23:54:06 +02:00

Flextype Core: Entries - new method rename() - added.

This commit is contained in:
Awilum
2019-02-07 17:01:59 +03:00
parent 7af9ab1665
commit 16b9ba2eba

View File

@@ -282,6 +282,18 @@ class Entries
}
}
/**
* Rename entry.
*
* @param string $entry Entry
* @param string $new_entry New entry
* @return bool True on success, false on failure.
*/
public static function rename(string $entry, string $new_entry) : bool
{
return rename($entry, $new_entry);
}
/**
* Update entry
*