Completed
Push — master ( 294889...618737 )
by Vojtěch
02:15
created

IProfileStorage::setProfile()

Size

Total Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 1
c 0
b 0
f 0
ccs 0
cts 0
cp 0
1
<?php
2
3
declare(strict_types=1);
4
5
namespace SixtyEightPublishers\Application\Environment;
6
7 1
interface IProfileStorage
8
{
9
	/**
10
	 * @param \SixtyEightPublishers\Application\Environment\IProfile $profile
11
	 *
12
	 * @return mixed|void
13
	 */
14
	public function setProfile(IProfile $profile);
15
16
	/**
17
	 * @return \SixtyEightPublishers\Application\Environment\ActiveProfile
18
	 */
19
	public function getProfile() : ActiveProfile;
20
21
	/**
22
	 * Saves actual ActiveProfile's state
23
	 * @return mixed|void
24
	 */
25
	public function persist();
26
}
27