Created
March 31, 2016 10:32
-
-
Save lajosbencz/9a3a0581c291db6cf04479be1b88c3e4 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 | |
interface TaskInterface | |
{ | |
/** | |
* Assign the first number | |
* @param int $value | |
* @return $this | |
*/ | |
public function setA($value); | |
/** | |
* Assign the other number | |
* @param int $value | |
* @return $this | |
*/ | |
public function setB($value); | |
/** | |
* Calculate greatest common divisor, return false if none found | |
* @return int|false | |
*/ | |
public function findGCD(); | |
/** | |
* Calculate least common multiple, return false if none found | |
* @return int|false | |
*/ | |
public function findLCM(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment