HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux spn-python 5.15.0-89-generic #99-Ubuntu SMP Mon Oct 30 20:42:41 UTC 2023 x86_64
User: arjun (1000)
PHP: 8.1.2-1ubuntu2.20
Disabled: NONE
Upload Files
File: /var/www/html/appointmentbook.me/wp-content/plugins/booknetic/app/Models/AppointmentPrice.php
<?php

namespace BookneticApp\Models;

use BookneticApp\Models\Customer;
use BookneticApp\Providers\DB\Model;

/**
 * @property-read int $id
 * @property-read int $appointment_id
 * @property-read string $unique_key
 * @property-read float $price
 * @property-read int $negative_or_positive
 * @property-read string $name
 */
class AppointmentPrice extends Model
{

	public static $relations = [

	];

	/**
	 * @param self $price
	 *
	 * @return string
	 */
	public function getNameAttribute( $price )
	{
        return apply_filters('bkntc_price_name', $price->unique_key);
	}

}