Elgg  Version 4.x
ElggIcon.php
Go to the documentation of this file.
1 <?php
2 
6 class ElggIcon extends ElggFile {
7 
11  protected function initializeAttributes() {
12  parent::initializeAttributes();
13 
14  $this->attributes['subtype'] = 'icon';
15  }
16 
22  public function save() : bool {
23  throw new \LogicException(__CLASS__ . ' instances exist as placeholders and can not be upgraded to entities');
24  }
25 }
save()
{}
Definition: ElggIcon.php:22
Entity icon class.
Definition: ElggIcon.php:6
initializeAttributes()
{}
Definition: ElggIcon.php:11