Update to drupal-org-drupal 8.0.0-rc2. For more information, see https://www.drupal.org/node/2598668
This commit is contained in:
parent
f32e58e4b1
commit
8e18df8c36
3062 changed files with 15044 additions and 172506 deletions
|
@ -1,38 +0,0 @@
|
|||
<?php
|
||||
|
||||
namespace Bar;
|
||||
|
||||
class FooClass
|
||||
{
|
||||
public $foo, $moo;
|
||||
|
||||
public $bar = null, $initialized = false, $configured = false, $called = false, $arguments = array();
|
||||
|
||||
public function __construct($arguments = array())
|
||||
{
|
||||
$this->arguments = $arguments;
|
||||
}
|
||||
|
||||
public static function getInstance($arguments = array())
|
||||
{
|
||||
$obj = new self($arguments);
|
||||
$obj->called = true;
|
||||
|
||||
return $obj;
|
||||
}
|
||||
|
||||
public function initialize()
|
||||
{
|
||||
$this->initialized = true;
|
||||
}
|
||||
|
||||
public function configure()
|
||||
{
|
||||
$this->configured = true;
|
||||
}
|
||||
|
||||
public function setBar($value = null)
|
||||
{
|
||||
$this->bar = $value;
|
||||
}
|
||||
}
|
Reference in a new issue