22 $this->results = $results;
31 if ( $this->allowed ===
null ) {
32 $this->allowed =
true;
33 foreach ( $this->results as $result ) {
34 if ( !$result->isAllowed() ) {
35 $this->allowed =
false;
40 return $this->allowed;
53 foreach ( $this->results as $i => $result ) {
54 if ( !$result->isAllowed() ) {
55 $failed[$i] = $result;
71 foreach ( $this->results as $i => $result ) {
72 if ( $result->isAllowed() ) {
73 $passed[$i] = $result;
88 return $this->results;