Drupal 8  8.0.2
Cron Class Reference
Inheritance diagram for Cron:

Public Member Functions

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

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

lazyLoadItself ( )
protected

Lazy loads the real service from the container.

Returns
object Returns the constructed real service.

References Drupal\service().

Referenced by Cron\run().

Here is the call graph for this function:

Here is the caller graph for this function:

run ( )

{Executes a cron run.Do not call this function from a test. Use $this->cronRun() instead.

Returns
bool TRUE upon success, FALSE otherwise.
}

Implements CronInterface.

References Cron\lazyLoadItself().

Here is the call graph for this function:


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