Symfony\Component\Config\Tests\Loader\ProjectLoader1::supports PHP Method

supports() public method

public supports ( $resource, $type = null )
    public function supports($resource, $type = null)
    {
        return is_string($resource) && 'foo' === pathinfo($resource, PATHINFO_EXTENSION);
    }