public function getFunctions($prepend, $available)
    {
        // Check filepath
        if (empty($this->filepath)) {
            return [];
        }

        // Get configurations
        $configs = include $this->filepath;

        // Check
        if (empty($configs)) {
            return [];
        }

        $functions = [];

        // Iterate on configs
        foreach ($configs as $key => $args) {
            if (!in_array($key, $available) || empty($args)) {
                continue;
            }

            $functions[Helpers::toFunctionFormat($key).$prepend] = $args;
        }

        return $functions;
    }
public function getFunctions($prepend, $available)
    {
        // Check filepath
        if (empty($this->filepath)) {
            return [];
        }

        // Get configurations
        $configs = include $this->filepath;

        // Check
        if (empty($configs)) {
            return [];
        }

        $functions = [];

        // Iterate on configs
        foreach ($configs as $key => $args) {
            if (!in_array($key, $available) || empty($args)) {
                continue;
            }

            $functions[Helpers::toFunctionFormat($key).$prepend] = $args;
        }

        return $functions;
    }
public function getFunctions ( $ prepend , $ available ) { // Check filepath if ( empty ( $ this -> filepath ) ) { return [ ] ; } // Get configurations $ configs = include $ this -> filepath ; // Check if ( empty ( $ configs ) ) { return [ ] ; } $ functions = [ ] ; // Iterate on configs foreach ( $ configs as $ key => $ args ) { if ( ! in_array ( $ key , $ available ) || empty ( $ args ) ) { continue ; } $ functions [ Helpers :: toFunctionFormat ( $ key ) . $ prepend ] = $ args ; } return $ functions ; }
Initialize filepath with configs.

@param string $prepend
@param array $available
@return array $functions
Initialize filepath with configs .