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
/
elements
/
db
/
EagerLoadPlan.php
/
/
<?php /** * @link https://craftcms.com/ * @copyright Copyright (c) Pixel & Tonic, Inc. * @license https://craftcms.github.io/license/ */ namespace craft\elements\db; use yii\base\BaseObject; /** * Class EagerLoadPlan * * @author Pixel & Tonic, Inc. <support@pixelandtonic.com> * @since 3.5.0 */ class EagerLoadPlan extends BaseObject { /** * @var string|null The eager-loading handle */ public ?string $handle = null; /** * @var string|null The eager-loading alias */ public ?string $alias = null; /** * @var array The criteria that should be applied when eager-loading these elements */ public array $criteria = []; /** * @var bool Whether to eager-load the matching elements * @since 3.5.12 */ public bool $all = false; /** * @var bool Whether to eager-load the count of the matching elements */ public bool $count = false; /** * @var callable|null A PHP callable whose return value determines whether to apply eager-loaded elements to the given element. * * The signature of the callable should be `function (\craft\base\ElementInterface $element): bool`, where `$element` refers to the element * the eager-loaded elements are about to be applied to. The callable should return a boolean value. * * @since 3.5.12 */ public $when; /** * @var EagerLoadPlan[] Nested eager-loading plans to apply to the eager-loaded elements. */ public array $nested = []; }
/srv/users/craft4/apps/craft4-newsite-space/vendor/craftcms/cms/src/elements/db/EagerLoadPlan.php