public static function create(array $data): League
    {
        $league = new League();
        parent::fill($data, $league);
        return $league;
    }
public static function create(array $data): League
    {
        $league = new League();
        parent::fill($data, $league);
        return $league;
    }
public static function create ( array $ data ) : League { $ league = new League ( ) ; parent :: fill ( $ data , $ league ) ; return $ league ; }
Creates a league object with the given data
@param array $data an associative array to fill up the members of the
league class
@return League a league object with the data given as it's members
Creates a league object with the given data