Am 17.06.2010 21:14, schrieb Stas Malyshev:
> Hi!
>
>> I know the discussion is about scalar type hints. But what is with a
>> object type hint as base for all objects?
>
> When it makes sense to accept any object, regardless of the class, but
> not other types? I wonder if it's really a common use-case.

My view layer accepts only presentation model objects. So every object
with public properties can be passed to the the view.

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to