Skip to content

Commit 87cdcde

Browse files
committed
Add phpdoc
1 parent 36b1cf7 commit 87cdcde

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

src/Settings.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@
1818
class Settings extends \yii\base\Component
1919
{
2020
/**
21-
* @var string $tableName
21+
* @var string $tableName Table name
2222
*/
2323
public $tableName = 'settings';
2424
/**
25-
* @var string $cacheName
25+
* @var string $cacheName A key identifying the values to be cached
2626
*/
2727
public $cacheName = 'settings';
2828
/**

tests/config/console.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@
2020
],
2121
'settings' => [
2222
'class' => 'rkit\settings\Settings',
23+
//'cache' => '…', // cache component name
24+
//'tableName' => '…' // table name
25+
//'cacheName' => '…' // a key identifying the values to be cached
2326
]
2427
]
2528
];

0 commit comments

Comments
 (0)