what is the use of static variable laravel code example
Example: laravel public static variable
class Export extends Model {
public static $itemsPerPage = 20;
public function test() {
static::$itemsPerPage;
}
}
class Export extends Model {
public static $itemsPerPage = 20;
public function test() {
static::$itemsPerPage;
}
}