If an deprecated label is set on a method, only its line will be crossed out.
If the deprecated label is set on the class, then all its methods will be crossed out.
For example:
namespace App\Http\Controllers\Api\V1\Master;
/** @deprecated */
class BookingServicesController
{
public function index()
// ...
}
class BookingOrdersController
{
/**
* @deprecated
*/
public function items()
// ...
}
If an deprecated label is set on a method, only its line will be crossed out. If the deprecated label is set on the class, then all its methods will be crossed out.
For example:
Result: