/** * Creates a new image element. * * @param array $attributes The attributes that should be assigned to the element. */ public function __construct(array $attributes) { parent::__construct($attributes); }
/** * Creates a new anchor element. * * @param array $attributes The attributes that should be assigned to the element. */ public function __construct($content, array $attributes) { parent::__construct($attributes); $this->content = $content; }