public function printPolicy()
    {
        Log::logPrint('Policy:');
        foreach (['p', 'g'] as $sec) {
            if (!isset($this->model[$sec])) {
                return;
            }
            foreach ($this->model[$sec] as $key => $ast) {
                Log::logPrint($key, ': ', $ast->value, ': ', $ast->policy);
            }
        }
    }
public function printPolicy()
    {
        Log::logPrint('Policy:');
        foreach (['p', 'g'] as $sec) {
            if (!isset($this->model[$sec])) {
                return;
            }
            foreach ($this->model[$sec] as $key => $ast) {
                Log::logPrint($key, ': ', $ast->value, ': ', $ast->policy);
            }
        }
    }
public function printPolicy ( ) { Log :: logPrint ( 'Policy:' ) ; foreach ( [ 'p' , 'g' ] as $ sec ) { if ( ! isset ( $ this -> model [ $ sec ] ) ) { return ; } foreach ( $ this -> model [ $ sec ] as $ key => $ ast ) { Log :: logPrint ( $ key , ': ' , $ ast -> value , ': ' , $ ast -> policy ) ; } } }
prints the policy to log.
prints the policy to log .