23 $this->results = $results;
32 if ( $this->allowed ===
null ) {
33 $this->allowed =
true;
34 foreach ( $this->results as $result ) {
35 if ( !$result->isAllowed() ) {
36 $this->allowed =
false;
41 return $this->allowed;
54 foreach ( $this->results as $i => $result ) {
55 if ( !$result->isAllowed() ) {
56 $failed[$i] = $result;
72 foreach ( $this->results as $i => $result ) {
73 if ( $result->isAllowed() ) {
74 $passed[$i] = $result;
89 return $this->results;