You are here

classes.php in Service Container 7

File

modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/Tests/Fixtures/includes/classes.php
View source
<?php

function sc_configure($instance) {
  $instance
    ->configure();
}
class BarClass {
  protected $baz;
  public $foo = 'foo';
  public function setBaz(BazClass $baz) {
    $this->baz = $baz;
  }
  public function getBaz() {
    return $this->baz;
  }

}
class BazClass {
  protected $foo;
  public function setFoo(Foo $foo) {
    $this->foo = $foo;
  }
  public function configure($instance) {
    $instance
      ->configure();
  }
  public static function getInstance() {
    return new self();
  }
  public static function configureStatic($instance) {
    $instance
      ->configure();
  }
  public static function configureStatic1() {
  }

}
class BarUserClass {
  public $bar;
  public function __construct(BarClass $bar) {
    $this->bar = $bar;
  }

}

Functions

Namesort descending Description
sc_configure

Classes