variavel static code example
Example 1: laravel public static variable
class Export extends Model {
public static $itemsPerPage = 20;
public function test() {
static::$itemsPerPage;
}
}
Example 2: new static laravel
Explained like a charm
https://stackoverflow.com/questions/15898843/what-means-new-static