Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel public static variable

class Export extends Model {
    public static $itemsPerPage = 20;

	public function test() {
		static::$itemsPerPage;
    }
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #laravel #public #static #variable
ADD COMMENT
Topic
Name
1+2 =