74 throw new LogicException(
'Subclass must override' );
79class_alias( CodeContentHandler::class,
'CodeContentHandler' );
Content handler for code content such as CSS, JavaScript, JSON, etc.
getPageLanguage(Title $title, ?Content $content=null)
Returns the English language, because code is English, and should be handled as such.
getPageViewLanguage(Title $title, ?Content $content=null)
Returns the English language, because code is English, and should be handled as such.
getContentClass()
Returns the name of the associated Content class, to be used when creating new objects....
Base content handler implementation for flat text contents.
Base interface for representing page content.