for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* _ __ __ _____ _____ ___ ____ _____
* | | / // // ___//_ _// || __||_ _|
* | |/ // /(__ ) / / / /| || | | |
* |___//_//____/ /_/ /_/ |_||_| |_|
* @link https://vistart.me/
* @copyright Copyright (c) 2016 - 2017 vistart
* @license https://vistart.me/license/
*/
namespace rhosocial\organization\console\controllers;
use yii\console\Controller;
* @version 1.0
* @author vistart <[email protected]>
class OrganizationController extends Controller
{
public $defaultAction = 'show';
public function actionShow($organization)
$organization
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.
}
public function actionRegister($user, $name)
$user
$name
public function actionRegisterDepartment($user, $name, $organization)
public function actionDeregister($organization)
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.