note 75224 deleted from language.oop5.typehinting by felipe
| From: | felipe@php.net | Date: | Sat, 15 Dec 2007 01:22:51 +0000 |
| Subject: | note 75224 deleted from language.oop5.typehinting by felipe | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-133491@lists.php.net to get a copy of this message | ||
Note Submitter: Andrea Giammarchi
----
just a note about my example ... methods could obviously use my fake overload proposal inside
themself too
<?php
protected function doSomething2(A $a, B $b) {
return $this->doSomething($a).' and '.$this->doSomething($b).'
too';
}
protected function doSomething3(B $b, A $a) {
return $this->doSomething($b).' and '.$this->doSomething($a).'
too';
}
?>
:-)