laravel static classes 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;
}
}