/** * Constructor that takes the entity name as first parameter to call the parent constructor * * @param string $entityName The entity name */ public function __construct(string $entityName) { Ini::setIniFileName(static::ENTITIES_CONF_PATH . $entityName . '.ini'); $this->conf = Ini::getAllParams(); $this->entityName = $entityName; $this->parseConf(); }