interface Proxy

Interface for proxy classes.

@author Roman Borschel <roman@code-factory.org> @since 2.2

Hierarchy

  • interface \Doctrine\Common\Persistence\Proxy

Expanded class hierarchy of Proxy

All classes that implement Proxy

1 file declares its use of Proxy
ClassUtils.php in drupal/core/vendor/doctrine/common/lib/Doctrine/Common/Util/ClassUtils.php

File

drupal/core/vendor/doctrine/common/lib/Doctrine/Common/Persistence/Proxy.php, line 29

Namespace

Doctrine\Common\Persistence
View source
interface Proxy {

  /**
   * Marker for Proxy class names.
   *
   * @var string
   */
  const MARKER = '__CG__';

  /**
   * Length of the proxy marker
   *
   * @var int
   */
  const MARKER_LENGTH = 6;

  /**
   * Initialize this proxy if its not yet initialized.
   *
   * Acts as a no-op if already initialized.
   *
   * @return void
   */
  public function __load();

  /**
   * Is this proxy initialized or not.
   *
   * @return bool
   */
  public function __isInitialized();

}

Members

Namesort descending Modifiers Type Description Overrides
Proxy::MARKER constant Marker for Proxy class names.
Proxy::MARKER_LENGTH constant Length of the proxy marker
Proxy::__isInitialized public function Is this proxy initialized or not.
Proxy::__load public function Initialize this proxy if its not yet initialized.