public function canReview(ReviewableInterface $subject)
    {
        if ($subject instanceof FileInterface) {
            return $this->canReviewFile($subject);
        }
        if ($subject instanceof CommitMessageInterface) {
            return $this->canReviewMessage($subject);
        }
        return false;
    }
public function canReview(ReviewableInterface $subject)
    {
        if ($subject instanceof FileInterface) {
            return $this->canReviewFile($subject);
        }
        if ($subject instanceof CommitMessageInterface) {
            return $this->canReviewMessage($subject);
        }
        return false;
    }
public function canReview ( ReviewableInterface $ subject ) { if ( $ subject instanceof FileInterface ) { return $ this -> canReviewFile ( $ subject ) ; } if ( $ subject instanceof CommitMessageInterface ) { return $ this -> canReviewMessage ( $ subject ) ; } return false ; }
Determine if the subject can be reviewed.

@param  ReviewableInterface $subject
@return boolean
Determine if the subject can be reviewed .