ما أحاول القيام به هو استثناء استثناء داخل الفصل. ومن ثم تكون قادرًا على التقاطها بالخارج عند التنفيذ. class api {
public function __construct($user_id, $token) {}
public function post($data) {
throw new customException\Post('Error 1');
}
}
try {
$api = new api('id','ke...
15.07.2018, 00:25