Skip to content

Commit

Permalink
ContainerBuilder: removed setClassName() & getClassName() (BC break)
Browse files Browse the repository at this point in the history
  • Loading branch information
dg committed May 10, 2016
1 parent 242a0b3 commit 6150ff1
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 20 deletions.
19 changes: 0 additions & 19 deletions src/DI/ContainerBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -173,25 +173,6 @@ public function getAliases()
}


/**
* @return self
*/
public function setClassName($name)
{
$this->className = (string) $name;
return $this;
}


/**
* @return string
*/
public function getClassName()
{
return $this->className;
}


/********************* class resolving ****************d*g**/


Expand Down
1 change: 0 additions & 1 deletion src/DI/ContainerLoader.php
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,6 @@ private function isExpired($file)
protected function generate($class, $generator)
{
$compiler = new Compiler;
$compiler->getContainerBuilder()->setClassName($class);
$code = call_user_func_array($generator, [& $compiler]);
$code = $code ?: implode("\n\n\n", $compiler->compile());
$files = $compiler->getDependencies();
Expand Down

0 comments on commit 6150ff1

Please sign in to comment.