jpcercal/silex-manager-provider

View on GitHub
src/Service/LoaderService/ConfigTrait.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

namespace Cekurte\Silex\Manager\Service\LoaderService;

use Cekurte\Silex\Manager\Service\LoaderService\ConfigInterface;

trait ConfigTrait
{
    /**
     * @return array
     */
    public function getAllowedConfigTypes()
    {
        return [
            ConfigInterface::TYPE_ARRAY    => 'ArrayConfig',
            ConfigInterface::TYPE_FILE_PHP => 'FilePhpConfig',
        ];
    }
}