<?php
// Get schema
$schema = $page->getSchema();
//if you find yourself on a SSP / CWP enviornment, needing to log issues without either causing the request to fail or the log disappearing into the void.. the log level you want to use is _info_.
Injector::inst()->get(LoggerInterface::class)->info('Really useful information that can actually be surfaced in Graylog!');
// Extension stuff
SiteTree::has_extension(Subsite::class )
SiteTree::getExtensionInstances()
// Get config by class
$limit =Config::inst()->get(SyncOktaUsersJob::class, 'bulk_insert_pagination_limit');