public static function currentOrFailByDomain($domain)
	{
		$factor = static::all()->whereEquals('user_id', User::get('id'))
		                       ->whereEquals('domain', $domain)
		                       ->row();

		return ($factor->isNew()) ? false : $factor;
	}
public static function currentOrFailByDomain($domain)
	{
		$factor = static::all()->whereEquals('user_id', User::get('id'))
		                       ->whereEquals('domain', $domain)
		                       ->row();

		return ($factor->isNew()) ? false : $factor;
	}
public static function currentOrFailByDomain ( $ domain ) { $ factor = static :: all ( ) -> whereEquals ( 'user_id' , User :: get ( 'id' ) ) -> whereEquals ( 'domain' , $ domain ) -> row ( ) ; return ( $ factor -> isNew ( ) ) ? false : $ factor ; }
Gets one result or fails by domain and user_id

@param   string  $domain  The domain of interest
@return  mixed   static|bool
Gets one result or fails by domain and user_id