public function createFileLoader($type, ContainerBuilder $container, $path)
    {
        $className = $this->getClassNameByShortType($type);

        return new $className($container, new FileLocator($path));
    }
public function createFileLoader($type, ContainerBuilder $container, $path)
    {
        $className = $this->getClassNameByShortType($type);

        return new $className($container, new FileLocator($path));
    }
public function createFileLoader ( $ type , ContainerBuilder $ container , $ path ) { $ className = $ this -> getClassNameByShortType ( $ type ) ; return new $ className ( $ container , new FileLocator ( $ path ) ) ; }
Creates a loader for the service config file

@param  string           $type      The name of the file type, such as xml, yml or php
@param  ContainerBuilder $container
@param  string           $path      The path to the *directory* containing the the file
@return LoaderInterface
Creates a loader for the service config file