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: namespace Nette\Database\Reflection;
9:
10: use Nette;
11:
12:
13: /** @deprecated */
14: class ConventionalReflection extends Nette\Database\Conventions\StaticConventions
15: {
16:
17: public function __construct($primary = 'id', $foreign = '%s_id', $table = '%s')
18: {
19: parent::__construct($primary, $foreign, $table);
20: trigger_error(__CLASS__ . '() is deprecated; use Nette\Database\Conventions\StaticConventions instead.', E_USER_DEPRECATED);
21: }
22:
23: }
24: