Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
Container *ContainerConfig
Psr4 Psr4Map
VendorDir string
PhpPath string
}
func (*Config) LoadPsr4Map ¶
func (c *Config) LoadPsr4Map()
type ContainerConfig ¶
type ContainerConfig struct {
WorkspaceRoot string
ContainerXMLPath string
Roots []string
BundleRoots map[string][]string
ServiceClasses map[string]string
ServiceAliases map[string]string
TwigFunctions map[string]protocol.Location
ServiceReferences map[string]int
}
func NewContainerConfig ¶
func NewContainerConfig() *ContainerConfig
func (*ContainerConfig) LoadFromXML ¶
func (c *ContainerConfig) LoadFromXML(psr4Map Psr4Map)
Populates the Config.
func (*ContainerConfig) ResolveServiceId ¶
func (c *ContainerConfig) ResolveServiceId(serviceID string) (string, bool)
Resolves a service ID to its class name.
Click to show internal directories.
Click to hide internal directories.