On Fri, Apr 25, 2008 at 10:00 PM, Matthew Weier O'Phinney
<[EMAIL PROTECTED]> wrote:
> (...)
> As an example, consider the following:
>
> class My_Service_Class
> {
> /**
> * @param string $message Message to emit
> * @param null|string $name Name to greet
> * @return string
> */
> public function hello($message, $name = null)
> {
> if (null !== $name) {
> return 'Hello, ' . (string) $name . " - \n" . (string)
> $message;
> }
>
> return "Hello -\n" . (string) $message;
> }
> }
Hey (off-list),
it would be neat if this is added to the docs, do you need a Jira
issue for that? ;-) Let me know!
Till