protected $dependencies = [];
protected $group = null;
protected $source = 'local';
+ protected $position = 'bottom';
protected $script = '';
protected $styles = '';
protected $skipFunction = null;
protected $isRaw = false;
+ protected $isKnownEmpty = false;
+ protected $type = ResourceLoaderModule::LOAD_GENERAL;
protected $targets = [ 'phpunit' ];
public function __construct( $options = [] ) {
public function getSource() {
return $this->source;
}
+ public function getPosition() {
+ return $this->position;
+ }
+
+ public function getType() {
+ return $this->type;
+ }
public function getSkipFunction() {
return $this->skipFunction;
public function isRaw() {
return $this->isRaw;
}
+ public function isKnownEmpty( ResourceLoaderContext $context ) {
+ return $this->isKnownEmpty;
+ }
public function enableModuleContentVersion() {
return true;