Deprecate replace method in Lang class.
This commit is contained in:
parent
a23c6ab9c1
commit
be2b7fec0c
|
@ -123,18 +123,6 @@ private function load($file, $language)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Set the place-holder replacements.
|
|
||||||
*
|
|
||||||
* @param array $replacements
|
|
||||||
* @return Lang
|
|
||||||
*/
|
|
||||||
public function replace($replacements)
|
|
||||||
{
|
|
||||||
$this->replacements = $replacements;
|
|
||||||
return $this;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get the string content of the language line.
|
* Get the string content of the language line.
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue