Created
August 10, 2017 08:42
-
-
Save JackNoordhuis/814d635735fa33011f277225cc2d9129 to your computer and use it in GitHub Desktop.
hold this L boi
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
Class Gary extends YouTuber { | |
private $isSnail = false; | |
private $hasClickbaitContent = false; | |
public function setIsSnail(bool $value = true) { | |
$this->isSnail = $value; | |
} | |
public function setHasClickbaitContent(bool $value = true) { | |
$this->hasClickbaitContent = $value; | |
} | |
public function isSnail() : bool { | |
return $this->isSnail; | |
} | |
public function hasClickbaitContent() : bool { | |
return $this->hasClickbaitContent(); | |
} | |
} | |
$gary = new Gary(); | |
while(!$gary->hasClickbaitContent()) { | |
if(stripos($gary->getLatestVideo()->getTitle(), “3am”) !== false) { | |
echo “damn nigga that some clickbait”; | |
if($gary->getSubscriberCount() >= 1000000) { | |
$gary->setHasClickbaitContent(); | |
} | |
} | |
} | |
echo “damn nigga you a fraud”; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment