Interface and abstract method
| From: | mathieu.suen | Date: | Tue, 18 May 2010 15:12:44 +0000 |
| Subject: | Interface and abstract method | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-48316@lists.php.net to get a copy of this message | ||
Hi,
In the SPL there is some interface that have abstract method:
*Countable* {
/* Methods */
abstract public int count <http://www.php.net/manual/en/countable.count.php> ( void )
}
While some interface have "none abstract" method.
*OuterIterator* extends Iterator <http://www.php.net/manual/en/class.iterator.php> {
/* Methods */
public Iterator getInnerIterator <http://www.php.net/manual/en/outeriterator.getchildren.php> ( void )
..snip..
}
Does "abstract" keyword have a semantic?
Thanks
--Mathieu suen