public static function PhpSerialize::getFileExtension in Drupal 8
Same name and namespace in other branches
- 9 core/lib/Drupal/Component/Serialization/PhpSerialize.php \Drupal\Component\Serialization\PhpSerialize::getFileExtension()
Gets the file extension for this serialization format.
Return value
string The file extension, without leading dot.
Overrides SerializationInterface::getFileExtension
File
- core/
lib/ Drupal/ Component/ Serialization/ PhpSerialize.php, line 27
Class
- PhpSerialize
- Default serialization for serialized PHP.
Namespace
Drupal\Component\SerializationCode
public static function getFileExtension() {
return 'serialized';
}