Added __toString method to Lang class.

This commit is contained in:
Taylor Otwell
2011-07-21 08:32:59 -07:00
parent 9f8e56d687
commit b7ab358297

View File

@@ -135,4 +135,12 @@ class Lang {
return $this;
}
/**
* Get the string content of the language line.
*/
public function __toString()
{
return $this->get();
}
}