mobileka/scope-applicator-yii2

View on GitHub
src/Mobileka/ScopeApplicator/Yii2/ActiveQuery.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php namespace Mobileka\ScopeApplicator\Yii2;

use Mobileka\ScopeApplicator\ScopeApplicator;

class ActiveQuery extends \yii\db\ActiveQuery
{
    use ScopeApplicator;

    /**
     * @return \Mobileka\ScopeApplicator\Contracts\InputManagerInterface
     */
    public function getInputManager()
    {
        return new InputManager;
    }

    /**
     * @return \Mobileka\ScopeApplicator\Contracts\LoggerInterface
     */
    public function getLogger()
    {
        return new Logger;
    }
}