Commit b7ab3582 authored by Taylor Otwell's avatar Taylor Otwell

Added __toString method to Lang class.

parent 9f8e56d6
......@@ -135,4 +135,12 @@ class Lang {
return $this;
}
/**
* Get the string content of the language line.
*/
public function __toString()
{
return $this->get();
}
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment