php 有用的位

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了php 有用的位相关的知识,希望对你有一定的参考价值。

<?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');

以上是关于php 有用的位的主要内容,如果未能解决你的问题,请参考以下文章