The above is my configuration file, the error is not found. This class is in the folder: Project \ Components \ Stone.php.
Write wrong, first put him in the components directory.
Php
'stone' => [ 'class' => 'app\components\Stone' bracket
You can then use yii::$app->stone