mirror of
				https://github.com/yiisoft/yii2.git
				synced 2025-11-04 06:37:55 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			35 lines
		
	
	
		
			753 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			35 lines
		
	
	
		
			753 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
<?php
 | 
						|
/**
 | 
						|
 * @link https://www.yiiframework.com/
 | 
						|
 * @copyright Copyright (c) 2008 Yii Software LLC
 | 
						|
 * @license https://www.yiiframework.com/license/
 | 
						|
 */
 | 
						|
 | 
						|
namespace yiiunit\framework\console;
 | 
						|
 | 
						|
use yii\data\DataProviderInterface;
 | 
						|
use yiiunit\framework\console\stubs\DummyService;
 | 
						|
use yii\console\Controller;
 | 
						|
use yii\console\Request;
 | 
						|
 | 
						|
class FakePhp71Controller extends Controller
 | 
						|
{
 | 
						|
    public function actionInjection(
 | 
						|
        $before,
 | 
						|
        Request $request,
 | 
						|
        $between,
 | 
						|
        DummyService $dummyService,
 | 
						|
        ?Post $post,
 | 
						|
        $after
 | 
						|
    ) {
 | 
						|
    }
 | 
						|
 | 
						|
    public function actionNullableInjection(?Request $request, ?Post $post)
 | 
						|
    {
 | 
						|
    }
 | 
						|
 | 
						|
    public function actionModuleServiceInjection(DataProviderInterface $dataProvider)
 | 
						|
    {
 | 
						|
    }
 | 
						|
}
 |