public function getFailedRecommendations()
    {
        $array = array();
        foreach ($this->requirements as $req) {
            if (!$req->isFulfilled() && $req->isOptional()) {
                $array[] = $req;
            }
        }

        return $array;
    }
public function getFailedRecommendations()
    {
        $array = array();
        foreach ($this->requirements as $req) {
            if (!$req->isFulfilled() && $req->isOptional()) {
                $array[] = $req;
            }
        }

        return $array;
    }
public function getFailedRecommendations ( ) { $ array = array ( ) ; foreach ( $ this -> requirements as $ req ) { if ( ! $ req -> isFulfilled ( ) && $ req -> isOptional ( ) ) { $ array [ ] = $ req ; } } return $ array ; }
Returns the recommendations that were not met.

@return Requirement[]
Returns the recommendations that were not met .