src/API/Factory/ApiFactoryAbstract.php
protected function assertConfigIsValid(): void
    {
        foreach ($this->configProperties as $property) {
            if (empty(self::$config[$this->configSectionName][$property])) {
                throw new InvalidConfigException(
                    sprintf(
                        "Config section does not exist or is not filled properly: %s (\"%s\" is missing)",
                        $this->configSectionName,
                        $property
                    )
                );
            }
        }

        $this->assertApiClassImplementsInterface($this->apiInterface);
    }
protected function assertConfigIsValid(): void
    {
        foreach ($this->configProperties as $property) {
            if (empty(self::$config[$this->configSectionName][$property])) {
                throw new InvalidConfigException(
                    sprintf(
                        "Config section does not exist or is not filled properly: %s (\"%s\" is missing)",
                        $this->configSectionName,
                        $property
                    )
                );
            }
        }

        $this->assertApiClassImplementsInterface($this->apiInterface);
    }
protected function assertConfigIsValid ( ) : void { foreach ( $ this -> configProperties as $ property ) { if ( empty ( self :: $ config [ $ this -> configSectionName ] [ $ property ] ) ) { throw new InvalidConfigException ( sprintf ( "Config section does not exist or is not filled properly: %s (\"%s\" is missing)" , $ this -> configSectionName , $ property ) ) ; } } $ this -> assertApiClassImplementsInterface ( $ this -> apiInterface ) ; }
Performs basic validation of config structure. This method is to be overridden by custom implementations if
required

@throws InvalidConfigException
@throws InvalidApiClassException
Performs basic validation of config structure . This method is to be overridden by custom implementations if required