View difference between Paste ID: 9WDSVdgr and 4LFMXj7r
SHOW: | | - or go back to the newest paste.
1
class ClientsControl extends Control
2
{
3-
	protected function createComponentUpload()
3+
	public function __construct()
4
	{
5-
		return new Clients\Upload;
5+
		parent::__construct();
6
7
		$this['upload'] = new Clients\Upload;
8-
	protected function createComponentNote()
8+
		$this['note'] = new Clients\Note;
9
		$this['filters'] = new Clients\Filters;
10-
		return new Clients\Note;
10+
		$this['events'] = new Clients\Events;
11
	}
12
}