public function expires($var = null)
    {
        if ($var !== null) {
            $this->expires = $var;
        }

        return $this->expires ?? Grav::instance()['config']->get('system.pages.expires');
    }
public function expires($var = null)
    {
        if ($var !== null) {
            $this->expires = $var;
        }

        return $this->expires ?? Grav::instance()['config']->get('system.pages.expires');
    }
public function expires ( $ var = null ) { if ( $ var !== null ) { $ this -> expires = $ var ; } return $ this -> expires ?? Grav :: instance ( ) [ 'config' ] -> get ( 'system.pages.expires' ) ; }
Gets and sets the expires field. If not set will return the default

@param  int $var The new expires value.

@return int      The expires value
Gets and sets the expires field . If not set will return the default