Why would you want to declare an abstract method in the example below,
<?php
abstract class ClassName
{
abstract public function methodName();
}
?>
when
<?php
class ClassName
{
public function methodName()
{
// Body of method
}
}
?>
would provided the same results when manipulated by an inheriting child class.