Added __toString method to Lang class.
This commit is contained in:
parent
9f8e56d687
commit
b7ab358297
|
@ -135,4 +135,12 @@ public function replace($replacements)
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get the string content of the language line.
|
||||||
|
*/
|
||||||
|
public function __toString()
|
||||||
|
{
|
||||||
|
return $this->get();
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
Loading…
Reference in New Issue