Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added fluent inteface to prepend and set method.

  • Loading branch information...
commit dedd8ce8321170fdbeb1acaa0919e82ec9d32a35 1 parent 1036f30
Jerry Saravia authored
View
2  library/Zend/View/Helper/Placeholder/Container/AbstractContainer.php
@@ -98,6 +98,7 @@ public function __construct()
public function set($value)
{
$this->exchangeArray(array($value));
+ return $this;
}
/**
@@ -111,6 +112,7 @@ public function prepend($value)
$values = $this->getArrayCopy();
array_unshift($values, $value);
$this->exchangeArray($values);
+ return $this;
}
/**
Please sign in to comment.
Something went wrong with that request. Please try again.