laravel access variable from static function 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;
}
}