Subversion-Projekte lars-tiefland.laravel_shop

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
148 lars 1
<?php
2
 
3
/**
4
 * This file is part of the Nette Framework (https://nette.org)
5
 * Copyright (c) 2004 David Grudl (https://davidgrudl.com)
6
 */
7
 
8
declare(strict_types=1);
9
 
10
namespace Nette\Schema;
11
 
12
 
13
interface Schema
14
{
15
	/**
16
	 * Normalization.
17
	 * @return mixed
18
	 */
19
	function normalize($value, Context $context);
20
 
21
	/**
22
	 * Merging.
23
	 * @return mixed
24
	 */
25
	function merge($value, $base);
26
 
27
	/**
28
	 * Validation and finalization.
29
	 * @return mixed
30
	 */
31
	function complete($value, Context $context);
32
 
33
	/**
34
	 * @return mixed
35
	 */
36
	function completeDefault(Context $context);
37
}