/** * AbsField constructor. * * @param AbsCmpFields $component * * @since 1.0.0 * @author Panagiotis Vagenas <*****@*****.**> */ public function __construct(AbsCmpFields $component) { $this->id = str_replace('\\', '__', get_class($this) . '-' . $this->getHashId()); $this->menuPageComponent = $component; $this->menuPageComponent->attachField($this); }