SilverStripe\CMS\Controllers\ContentController::__construct
The ContentController will take the URLSegment parameter from the URL and use that to look up a SiteTree record.
Signature
public function __construct([SiteTree
$dataRecord = NULL] )
Parameters
$dataRecord
— object