protected function checkPropertySrcPath(\stdClass $infos): bool
    {
        if (!property_exists($infos, 'srcPath')) {
            throw new Exception(
                'srcPath must be present into bfwModulesInfos.json file'
                .' for the module '.$this->name,
                $this::ERR_LOAD_NO_PROPERTY_SRCPATH
            );
        }
        
        if (empty($infos->srcPath)) {
            throw new Exception(
                'srcPath property should not be empty into'
                .' bfwModulesInfos.json file for the module '.$this->name,
                $this::ERR_LOAD_EMPTY_PROPERTY_SRCPATH
            );
        }
        
        return true;
    }
protected function checkPropertySrcPath(\stdClass $infos): bool
    {
        if (!property_exists($infos, 'srcPath')) {
            throw new Exception(
                'srcPath must be present into bfwModulesInfos.json file'
                .' for the module '.$this->name,
                $this::ERR_LOAD_NO_PROPERTY_SRCPATH
            );
        }
        
        if (empty($infos->srcPath)) {
            throw new Exception(
                'srcPath property should not be empty into'
                .' bfwModulesInfos.json file for the module '.$this->name,
                $this::ERR_LOAD_EMPTY_PROPERTY_SRCPATH
            );
        }
        
        return true;
    }
protected function checkPropertySrcPath ( \ stdClass $ infos ) : bool { if ( ! property_exists ( $ infos , 'srcPath' ) ) { throw new Exception ( 'srcPath must be present into bfwModulesInfos.json file' . ' for the module ' . $ this -> name , $ this :: ERR_LOAD_NO_PROPERTY_SRCPATH ) ; } if ( empty ( $ infos -> srcPath ) ) { throw new Exception ( 'srcPath property should not be empty into' . ' bfwModulesInfos.json file for the module ' . $ this -> name , $ this :: ERR_LOAD_EMPTY_PROPERTY_SRCPATH ) ; } return true ; }
Somes check about the property srcPath.

@param \stdClass $infos

@return boolean

@throws \Exception If a check fail
Somes check about the property srcPath .