ServiceRouterLoader

class ServiceRouterLoader extends ObjectRouteLoader A route loader that executes a service to load the routes. This depends on the DependencyInjection component. Methods LoaderResolverInterface getResolver() Gets the loader resolver. from Loader setResolver(LoaderResolverInterface $resolver) Sets the loader resolver. from Loader mixed import(mixed $resource, string|null $type = null) Imports a resource. from Loader LoaderInterface resolve(mixed $resource, string|null $type =

ServiceReferenceGraphNode::isDefinition()

bool isDefinition() Checks if the value of this node is a Definition. Return Value bool True if the value is a Definition instance

ServiceReferenceGraphNode::isAlias()

bool isAlias() Checks if the value of this node is an Alias. Return Value bool True if the value is an Alias instance

ServiceReferenceGraphNode::getValue()

mixed getValue() Returns the value of this Node. Return Value mixed The value

ServiceReferenceGraphNode::getOutEdges()

array getOutEdges() Returns the out edges. Return Value array The out ServiceReferenceGraphEdge array

ServiceReferenceGraphNode::getInEdges()

array getInEdges() Returns the in edges. Return Value array The in ServiceReferenceGraphEdge array

ServiceReferenceGraphNode::getId()

string getId() Returns the identifier. Return Value string

ServiceReferenceGraphNode::addOutEdge()

addOutEdge(ServiceReferenceGraphEdge $edge) Adds an out edge to this node. Parameters ServiceReferenceGraphEdge $edge

ServiceReferenceGraphNode::addInEdge()

addInEdge(ServiceReferenceGraphEdge $edge) Adds an in edge to this node. Parameters ServiceReferenceGraphEdge $edge

ServiceReferenceGraphNode

class ServiceReferenceGraphNode Represents a node in your service graph. Value is typically a definition, or an alias. Methods __construct(string $id, mixed $value) addInEdge(ServiceReferenceGraphEdge $edge) Adds an in edge to this node. addOutEdge(ServiceReferenceGraphEdge $edge) Adds an out edge to this node. bool isAlias() Checks if the value of this node is an Alias. bool isDefinition() Checks if the value of this node is a Definition. string getId() Returns