For Best Practices - In PHP 5.3+, can we, as for C++, declare function signares and put the bodies in the bottom of it ? If yes, how to make it ?
Example :
<?php
class TheDoor
{
public $args; // [...]
private $fields; // [...]
public function close();
public function open();
[...]
public function close()
{
// Your code goes here
}
}
Thank you by advance.