Drupal 8  8.0.2
RouteBuilder Class Reference
Inheritance diagram for RouteBuilder:

Public Member Functions

 __construct (\Symfony\Component\DependencyInjection\ContainerInterface $container, $drupal_proxy_original_service_id)
 
 setRebuildNeeded ()
 
 rebuild ()
 
 rebuildIfNeeded ()
 
 destruct ()
 

Protected Member Functions

 lazyLoadItself ()
 

Protected Attributes

 $drupalProxyOriginalServiceId
 
 $service
 
 $container
 

Detailed Description

Provides a proxy class for .

See Also

Constructor & Destructor Documentation

__construct ( \Symfony\Component\DependencyInjection\ContainerInterface  $container,
  $drupal_proxy_original_service_id 
)

Constructs a ProxyClass Drupal proxy object.

Parameters
\Symfony\Component\DependencyInjection\ContainerInterface$containerThe container.
string$drupal_proxy_original_service_idThe service ID of the original service.

Member Function Documentation

destruct ( )

{Performs destruct operations.}

Implements DestructableInterface.

References RouteBuilder\lazyLoadItself().

Here is the call graph for this function:

lazyLoadItself ( )
protected

Lazy loads the real service from the container.

Returns
object Returns the constructed real service.

References Drupal\service().

Referenced by RouteBuilder\destruct(), RouteBuilder\rebuild(), RouteBuilder\rebuildIfNeeded(), and RouteBuilder\setRebuildNeeded().

Here is the call graph for this function:

Here is the caller graph for this function:

rebuild ( )

{Rebuilds the route info and dumps to dumper.

Returns
bool Returns TRUE if the rebuild succeeds, FALSE otherwise.
}

Implements RouteBuilderInterface.

References RouteBuilder\lazyLoadItself().

Here is the call graph for this function:

rebuildIfNeeded ( )

{Rebuilds the route info and dumps to dumper if necessary.

Returns
bool Returns TRUE if the rebuild occurs, FALSE otherwise.
}

Implements RouteBuilderInterface.

References RouteBuilder\lazyLoadItself().

Here is the call graph for this function:

setRebuildNeeded ( )

{Sets the router to be rebuilt next time rebuildIfNeeded() is called.}

Implements RouteBuilderInterface.

References RouteBuilder\lazyLoadItself().

Here is the call graph for this function:


The documentation for this class was generated from the following file: