for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
*
* @author Mihkel Viilveer <[email protected]>
* @date 5.09.2014
*/
namespace opus\elastic\components;
* Class ActiveRecord
* @package opus\elastic\components
class ActiveRecord extends \yii\elasticsearch\ActiveRecord
{
* @return string the name of the index this record is stored in.
public static function index()
return \Yii::$app->get('elasticsearch')->index;
}