Upgrade to 3.2.0

This commit is contained in:
Bastian Allgeier
2019-06-25 09:56:08 +02:00
parent 9e18cf635d
commit 9c89153d35
296 changed files with 14408 additions and 2504 deletions

View File

@@ -5,6 +5,15 @@ namespace Kirby\Cms;
use Kirby\Exception\InvalidArgumentException;
use Kirby\Toolkit\Component;
/**
* Section
*
* @package Kirby Cms
* @author Bastian Allgeier <bastian@getkirby.com>
* @link https://getkirby.com
* @copyright Bastian Allgeier GmbH
* @license https://getkirby.com/license
*/
class Section extends Component
{
@@ -36,11 +45,17 @@ class Section extends Component
parent::__construct($type, $attrs);
}
/**
* @return Kirby\Cms\App
*/
public function kirby()
{
return $this->model->kirby();
}
/**
* @return Kirby\Cms\Model
*/
public function model()
{
return $this->model;