Skip to content

Instantly share code, notes, and snippets.

View riyuk's full-sized avatar

colin boettcher riyuk

View GitHub Profile
<?php
public static function motd()
{
$excludedMonsters = Monster::where(function($query) {
$query->where('awakens_from', 'NOT LIKE', '%Angelmon%')
->where('awakens_from', 'NOT LIKE', '%Rainbowmon%')
->where('awakens_from', 'NOT LIKE', '%Imperfect%')
->where('awakens_from', 'NOT LIKE', '%(Attack)%')
->where('awakens_from', 'NOT LIKE', '%(Support)%');
});