protected static function getLocalConfigValues()
    {
        $root = self::projectRoot();
        $path = "{$root}/project-x.local.yml";

        if (!file_exists($path)) {
            return [];
        }

        $instance = ProjectXConfig::createFromFile(
            new \SplFileInfo($path)
        );

        return array_filter($instance->toArray());
    }
protected static function getLocalConfigValues()
    {
        $root = self::projectRoot();
        $path = "{$root}/project-x.local.yml";

        if (!file_exists($path)) {
            return [];
        }

        $instance = ProjectXConfig::createFromFile(
            new \SplFileInfo($path)
        );

        return array_filter($instance->toArray());
    }
protected static function getLocalConfigValues ( ) { $ root = self :: projectRoot ( ) ; $ path = "{$root}/project-x.local.yml" ; if ( ! file_exists ( $ path ) ) { return [ ] ; } $ instance = ProjectXConfig :: createFromFile ( new \ SplFileInfo ( $ path ) ) ; return array_filter ( $ instance -> toArray ( ) ) ; }
Get local configuration values.

@return array
Get local configuration values .