generated from yii2-extensions/template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
09ef6e1
commit bc68a9a
Showing
8 changed files
with
80 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,13 @@ | |
|
||
declare(strict_types=1); | ||
|
||
/** | ||
* @link https://www.yiiframework.com/ | ||
* | ||
* @copyright Copyright (c) 2008 Yii Software LLC | ||
* @license https://www.yiiframework.com/license/ | ||
*/ | ||
|
||
namespace yii\redis; | ||
|
||
use yii\base\Component; | ||
|
@@ -64,6 +71,9 @@ | |
* If a relation involves a junction table, it may be specified by [[via()]]. | ||
* This methods may only be called in a relational context. Same is true for [[inverseOf()]], which | ||
* marks a relation as inverse of another relation. | ||
* | ||
* @author Carsten Brandt <[email protected]> | ||
* @since 2.0 | ||
*/ | ||
class ActiveQuery extends Component implements ActiveQueryInterface | ||
{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,13 @@ | |
|
||
declare(strict_types=1); | ||
|
||
/** | ||
* @link https://www.yiiframework.com/ | ||
* | ||
* @copyright Copyright (c) 2008 Yii Software LLC | ||
* @license https://www.yiiframework.com/license/ | ||
*/ | ||
|
||
namespace yii\redis; | ||
|
||
use Yii; | ||
|
@@ -29,6 +36,9 @@ | |
* } | ||
* } | ||
* ``` | ||
* | ||
* @author Carsten Brandt <[email protected]> | ||
* @since 2.0 | ||
*/ | ||
class ActiveRecord extends BaseActiveRecord | ||
{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,13 @@ | |
|
||
declare(strict_types=1); | ||
|
||
/** | ||
* @link https://www.yiiframework.com/ | ||
* | ||
* @copyright Copyright (c) 2008 Yii Software LLC | ||
* @license https://www.yiiframework.com/license/ | ||
*/ | ||
|
||
namespace yii\redis; | ||
|
||
use Yii; | ||
|
@@ -91,6 +98,9 @@ | |
* ~~~ | ||
* | ||
* @property bool $isCluster Whether redis is running in cluster mode or not. | ||
* | ||
* @author Carsten Brandt <[email protected]> | ||
* @since 2.0 | ||
*/ | ||
class Cache extends \yii\caching\Cache | ||
{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,13 @@ | |
|
||
declare(strict_types=1); | ||
|
||
/** | ||
* @link https://www.yiiframework.com/ | ||
* | ||
* @copyright Copyright (c) 2008 Yii Software LLC | ||
* @license https://www.yiiframework.com/license/ | ||
*/ | ||
|
||
namespace yii\redis; | ||
|
||
use yii\base\Component; | ||
|
@@ -240,6 +247,9 @@ | |
* @property bool $isActive Whether the DB connection is established. | ||
* @property LuaScriptBuilder $luaScriptBuilder | ||
* @property false|resource $socket | ||
* | ||
* @author Carsten Brandt <[email protected]> | ||
* @since 2.0 | ||
*/ | ||
class Connection extends Component | ||
{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,13 @@ | |
|
||
declare(strict_types=1); | ||
|
||
/** | ||
* @link https://www.yiiframework.com/ | ||
* | ||
* @copyright Copyright (c) 2008 Yii Software LLC | ||
* @license https://www.yiiframework.com/license/ | ||
*/ | ||
|
||
namespace yii\redis; | ||
|
||
use yii\base\InvalidArgumentException; | ||
|
@@ -11,6 +18,9 @@ | |
|
||
/** | ||
* LuaScriptBuilder builds lua scripts used for retrieving data from redis. | ||
* | ||
* @author Carsten Brandt <[email protected]> | ||
* @since 2.0 | ||
*/ | ||
class LuaScriptBuilder extends \yii\base\BaseObject | ||
{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,13 @@ | |
|
||
declare(strict_types=1); | ||
|
||
/** | ||
* @link https://www.yiiframework.com/ | ||
* | ||
* @copyright Copyright (c) 2008 Yii Software LLC | ||
* @license https://www.yiiframework.com/license/ | ||
*/ | ||
|
||
namespace yii\redis; | ||
|
||
use Yii; | ||
|
@@ -49,6 +56,10 @@ | |
* | ||
* @see \yii\mutex\Mutex | ||
* @see https://redis.io/topics/distlock | ||
* | ||
* @author Sergey Makinen <[email protected]> | ||
* @author Alexander Zhuravlev <[email protected]> | ||
* @since 2.0.6 | ||
*/ | ||
class Mutex extends \yii\mutex\Mutex | ||
{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,13 @@ | |
|
||
declare(strict_types=1); | ||
|
||
/** | ||
* @link https://www.yiiframework.com/ | ||
* | ||
* @copyright Copyright (c) 2008 Yii Software LLC | ||
* @license https://www.yiiframework.com/license/ | ||
*/ | ||
|
||
namespace yii\redis; | ||
|
||
use Yii; | ||
|
@@ -47,6 +54,9 @@ | |
* ~~~ | ||
* | ||
* @property bool $useCustomStorage Whether to use custom storage. | ||
* | ||
* @author Carsten Brandt <[email protected]> | ||
* @since 2.0 | ||
*/ | ||
class Session extends \yii\web\Session | ||
{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters