Fixed re-use of snippet data
This commit is contained in:
parent
605f3c56b1
commit
9946c23c4f
@ -250,21 +250,21 @@ snippet http_redirect
|
|||||||
# Getters & Setters
|
# Getters & Setters
|
||||||
snippet getset
|
snippet getset
|
||||||
/**
|
/**
|
||||||
* Gets the value of ${1}
|
* Gets the value of ${1:}
|
||||||
*
|
*
|
||||||
* @return ${2}
|
* @return ${2}
|
||||||
*/
|
*/
|
||||||
function get${1}()
|
function get$1()
|
||||||
{
|
{
|
||||||
return $this->$_{1}
|
return $this->$_$1
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sets the value of ${1}
|
* Sets the value of $1
|
||||||
*
|
*
|
||||||
* @param mixed $lcl${1} ${3}
|
* @param mixed $$1 ${3}
|
||||||
*/
|
*/
|
||||||
function set${1}($lcl${1})
|
function set$1($$1)
|
||||||
{
|
{
|
||||||
$this->_${1} = $lcl${1}
|
$this->_$1 = $$1
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user