uawdijnntqw1x1x1
IP : 216.73.216.107
Hostname : toronto-dev2
Kernel : Linux toronto-dev2 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64
Disable Function : None :)
OS : Linux
PATH:
/
srv
/
users
/
craft4
/
apps
/
craft4-newsite-space
/
vendor
/
craftcms
/
cms
/
src
/
base
/
SortableFieldInterface.php
/
/
<?php /** * @link https://craftcms.com/ * @copyright Copyright (c) Pixel & Tonic, Inc. * @license https://craftcms.github.io/license/ */ namespace craft\base; /** * SortableFieldInterface defines the common interface to be implemented by field classes that can be available as * sort options on element indexes. * * @author Pixel & Tonic, Inc. <support@pixelandtonic.com> * @since 3.2.0 */ interface SortableFieldInterface { /** * Returns the field’s sort option definition. * * This should return an array with the following keys: * * - `label` – The sort option label * - `orderBy` – An array or comma-delimited string of columns to order the query by * - `attribute` – The table attribute name that this option is associated with * (required if `orderBy` is an array or more than one column name) * * @return array */ public function getSortOption(): array; }
/srv/users/craft4/apps/craft4-newsite-space/vendor/craftcms/cms/src/base/SortableFieldInterface.php