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;
    }
}
 
PREVIOUS NEXT
Tagged: #laravel #public #static #variable
ADD COMMENT
Topic
Name
9+8 =