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
/
.
/
ElementExporter.php
/
/
<?php /** * @link https://craftcms.com/ * @copyright Copyright (c) Pixel & Tonic, Inc. * @license https://craftcms.github.io/license/ */ namespace craft\base; /** * ElementExporter is the base class for classes representing element exporters in terms of objects. * * @author Pixel & Tonic, Inc. <support@pixelandtonic.com> * @since 3.4.0 */ abstract class ElementExporter extends Component implements ElementExporterInterface { /** * @inheritdoc */ public static function isFormattable(): bool { return true; } /** * @var string * @phpstan-var class-string<ElementInterface> */ protected string $elementType; /** * @inheritdoc */ public function setElementType(string $elementType): void { $this->elementType = $elementType; } /** * @inheritdoc */ public function getFilename(): string { /** @var ElementInterface $elementType */ $elementType = $this->elementType; return $elementType::pluralLowerDisplayName(); } }
/srv/users/craft4/apps/craft4-newsite-space/vendor/craftcms/cms/src/./base/./ElementExporter.php